Skip to content

Commit

Permalink
unused
Browse files Browse the repository at this point in the history
  • Loading branch information
hieuvubk committed Jan 5, 2025
1 parent 2e8aab4 commit 51aa1f6
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions x/vaults/keeper/vault.go
Original file line number Diff line number Diff line change
Expand Up @@ -840,18 +840,6 @@ func (k *Keeper) GetVaultIdAndAddress(
return id, address
}

func (k *Keeper) updateVaultDebt(
ctx context.Context,
) (uint64, sdk.AccAddress) {
id, err := k.VaultsSequence.Next(ctx)
if err != nil {
return 0, sdk.AccAddress{}
}
address := address.Module(types.ModuleName, []byte(strconv.Itoa(int(id))))

return id, address
}

func isStatusGood(vault types.Vault) bool {
if vault.Status == types.ACTIVE {
return true
Expand Down

0 comments on commit 51aa1f6

Please sign in to comment.