Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
DongLieu committed Oct 31, 2024
1 parent 006effc commit fbb6ea3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/vaults/keeper/vault.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit fbb6ea3

Please sign in to comment.