Skip to content

Commit

Permalink
add address to vault struct
Browse files Browse the repository at this point in the history
  • Loading branch information
hieuvubk committed Oct 3, 2024
1 parent fc0204d commit f64f668
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x/vaults/keeper/vault.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ func (k *Keeper) CreateNewVault(
Debt: mintedCoins[0],
CollateralLocked: collateral,
Status: types.ACTIVE,
Address: vaultAddress.String(),
}
err = k.SetVault(ctx, vault)
if err != nil {
Expand Down

0 comments on commit f64f668

Please sign in to comment.