This commit is contained in:
Denali Marsh 2021-02-08 13:57:02 +01:00 committed by GitHub
parent 5af50e1a2d
commit 0edbdf968e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
} }