Skip to content

Commit

Permalink
nits
Browse files Browse the repository at this point in the history
  • Loading branch information
DongLieu committed Nov 12, 2024
1 parent 70ec621 commit 691f0a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion x/vaults/keeper/vault.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ func (k *Keeper) CreateNewVault(
),
)

return k.VaultsManager.Set(ctx, denom, vm)
return k.VaultsManager.Set(ctx, key, vm)
}

func (k *Keeper) CloseVault(
Expand Down
2 changes: 1 addition & 1 deletion x/vaults/keeper/vaults_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func (s *KeeperTestSuite) TestCreateNewVault() {
} else {
s.Require().NoError(err)

vm, err := s.k.GetVaultManager(s.Ctx, denom, "nomUSD")
vm, err := s.k.GetVaultManager(s.Ctx, denom, mintDenom)
s.Require().NoError(err)
s.Require().NotEqual(maxDebt, vm.MintAvailable)

Expand Down

0 comments on commit 691f0a3

Please sign in to comment.