From fbb6ea31f50ab7b10900590fc6b2b099b35e2892 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CDongLieu=E2=80=9D?= Date: Thu, 31 Oct 2024 14:11:05 +0700 Subject: [PATCH] nits --- x/vaults/keeper/vault.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/vaults/keeper/vault.go b/x/vaults/keeper/vault.go index a5585a92..14a99704 100644 --- a/x/vaults/keeper/vault.go +++ b/x/vaults/keeper/vault.go @@ -217,7 +217,7 @@ func (k *Keeper) RepayDebt( sender sdk.AccAddress, repay sdk.Coin, ) error { - if mint.Denom != types.DefaultMintDenom { + if repay.Denom != types.DefaultMintDenom { return fmt.Errorf("minted denom must be %s", types.DefaultMintDenom) }