Skip to content

Commit

Permalink
correct fields
Browse files Browse the repository at this point in the history
  • Loading branch information
go7066 committed Feb 2, 2024
1 parent 90d4fba commit 4d9e7cd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ func BalanceOfByInterfaceName(token string, owner std.Address) uint64 {
if registered[i].isBank {
coins := banker.GetCoins(owner)
for _, coin := range coins {
if coin.denom == token {
return coin.amount
if coin.Denom == token {
return coin.Amount
}
}
return 0
Expand Down

0 comments on commit 4d9e7cd

Please sign in to comment.