From 0edbdf968ee15f84b61e2a9da1d43c3a89e19c10 Mon Sep 17 00:00:00 2001 From: Denali Marsh Date: Mon, 8 Feb 2021 13:57:02 +0100 Subject: [PATCH] hotfix (#803) --- x/hard/keeper/repay.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }