Skip to content

Commit

Permalink
Update gnovm/pkg/gnolang/realm.go
Browse files Browse the repository at this point in the history
Co-authored-by: Morgan <morgan@morganbaz.com>
  • Loading branch information
ltzmaxwell and thehowl authored Feb 18, 2025
1 parent c435516 commit 1a6f3b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gnovm/pkg/gnolang/realm.go
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ func checkCrossRealm(rlm *Realm, store Store, oo Object, isAttachingRef bool, se
// they can be attached(real) after.
if isAttachingRef {
if !oo.GetIsReal() {
panic(fmt.Sprintf("cannot attach a reference to an unreal object from an external realm: %v", oo))
panic(fmt.Sprintf("cannot attach a reference to an unattached object from an external realm: %v", oo))
} else {
return
}
Expand Down

0 comments on commit 1a6f3b9

Please sign in to comment.