diff --git a/x/hard/keeper/repay.go b/x/hard/keeper/repay.go index ee6b0a39..61db7f20 100644 --- a/x/hard/keeper/repay.go +++ b/x/hard/keeper/repay.go @@ -21,7 +21,7 @@ func (k Keeper) Repay(ctx sdk.Context, sender, owner sdk.AccAddress, coins sdk.C k.SyncBorrowInterest(ctx, owner) // Validate that sender holds coins for repayment - err = k.ValidateRepay(ctx, sender, coins) + err := k.ValidateRepay(ctx, sender, coins) if err != nil { return err }