Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
sontrinh16 committed Dec 25, 2024
1 parent e80536f commit 4cb52b3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion x/bank/keeper/view.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ func (k BaseViewKeeper) GetAccountsBalances(ctx context.Context) []types.Balance
func (k BaseViewKeeper) GetBalance(ctx context.Context, addr sdk.AccAddress, denom string) sdk.Coin {
amt, err := k.Balances.Get(ctx, collections.Join(addr, denom))
if err != nil {
fmt.Println(ctx)
return sdk.NewCoin(denom, math.ZeroInt())
}
return sdk.NewCoin(denom, amt)
Expand Down

0 comments on commit 4cb52b3

Please sign in to comment.