From 1a6f3b9acc7d56838717ac515d26efefa22ae668 Mon Sep 17 00:00:00 2001 From: ltzmaxwell Date: Tue, 18 Feb 2025 17:51:52 +0800 Subject: [PATCH] Update gnovm/pkg/gnolang/realm.go Co-authored-by: Morgan --- gnovm/pkg/gnolang/realm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnovm/pkg/gnolang/realm.go b/gnovm/pkg/gnolang/realm.go index 00549c040c1..31fa9f769f1 100644 --- a/gnovm/pkg/gnolang/realm.go +++ b/gnovm/pkg/gnolang/realm.go @@ -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 }