diff --git a/examples/gno.land/r/matijamarjanovic/gnocket/wallet.gno b/examples/gno.land/r/matijamarjanovic/gnocket/wallet.gno index 8f9b2141fc1..cdee208edc8 100644 --- a/examples/gno.land/r/matijamarjanovic/gnocket/wallet.gno +++ b/examples/gno.land/r/matijamarjanovic/gnocket/wallet.gno @@ -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() } diff --git a/examples/gno.land/r/matijamarjanovic/gnocket/wallet_registry.gno b/examples/gno.land/r/matijamarjanovic/gnocket/wallet_registry.gno index 335daf68856..9c8ad87af1f 100644 --- a/examples/gno.land/r/matijamarjanovic/gnocket/wallet_registry.gno +++ b/examples/gno.land/r/matijamarjanovic/gnocket/wallet_registry.gno @@ -30,8 +30,7 @@ func NewWallet() *Wallet { wallets.Set(string(caller), wallet) braw := GetAllBalancesRaw() - println(braw) - + return wallet }