mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-24 15:25:18 +00:00
hotfix (#803)
This commit is contained in:
parent
5af50e1a2d
commit
0edbdf968e
@ -21,7 +21,7 @@ func (k Keeper) Repay(ctx sdk.Context, sender, owner sdk.AccAddress, coins sdk.C
|
|||||||
k.SyncBorrowInterest(ctx, owner)
|
k.SyncBorrowInterest(ctx, owner)
|
||||||
|
|
||||||
// Validate that sender holds coins for repayment
|
// Validate that sender holds coins for repayment
|
||||||
err = k.ValidateRepay(ctx, sender, coins)
|
err := k.ValidateRepay(ctx, sender, coins)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user