diff --git a/x/hard/keeper/withdraw.go b/x/hard/keeper/withdraw.go index d8c5f892..b5fc956a 100644 --- a/x/hard/keeper/withdraw.go +++ b/x/hard/keeper/withdraw.go @@ -57,7 +57,7 @@ func (k Keeper) Withdraw(ctx sdk.Context, depositor sdk.AccAddress, coins sdk.Co k.UpdateDepositAndLtvIndex(ctx, deposit, newLtv, prevLtv) // Update total supplied amount - k.DecrementBorrowedCoins(ctx, amount) + k.DecrementSuppliedCoins(ctx, amount) // Call incentive hook k.AfterDepositModified(ctx, deposit)