Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4ada0a8

Browse files
committedOct 19, 2024·
chore: fixup
Signed-off-by: moul <[email protected]>
1 parent d53c180 commit 4ada0a8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎examples/gno.land/p/demo/grc/grc20/tellers.gno

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func (tok *Token) RealmTeller() GRC20 {
4040
panic("Token cannot be nil")
4141
}
4242

43-
caller := std.CurrentRealm().Addr()
43+
caller := std.PrevRealm().Addr()
4444

4545
return &fnTeller{
4646
accountFn: func() std.Address {
@@ -56,7 +56,7 @@ func (tok *Token) RealmSubTeller(slug string) GRC20 {
5656
panic("Token cannot be nil")
5757
}
5858

59-
caller := std.CurrentRealm().Addr()
59+
caller := std.PrevRealm().Addr()
6060
account := accountSlugAddr(caller, slug)
6161

6262
return &fnTeller{

0 commit comments

Comments
 (0)
Please sign in to comment.