Skip to content

Commit

Permalink
try fixed getter
Browse files Browse the repository at this point in the history
  • Loading branch information
matijamarjanovic committed Jan 18, 2025
1 parent 0e65808 commit cb4fc68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/gno.land/r/matijamarjanovic/gnocket/wallet.gno
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ func assertOwnership() {

func GetBalancesRaw() string {
assertOwnership()
return tokenhub.GetMyBalances()
return tokenhub.GetMyBalancesOrigCaller()
}

func GetAllBalancesRaw() string {
assertOwnership()
return tokenhub.GetMyBalancesAll()
return tokenhub.GetMyBalancesAllOrigCaller()
}


Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ func NewWallet() *Wallet {
wallets.Set(string(caller), wallet)

braw := GetAllBalancesRaw()
println(braw)



return wallet
}
Expand Down

0 comments on commit cb4fc68

Please sign in to comment.