diff --git a/pkg/core/native/native_nep5.go b/pkg/core/native/native_nep5.go index 676437369..bb4cf8e87 100644 --- a/pkg/core/native/native_nep5.go +++ b/pkg/core/native/native_nep5.go @@ -113,7 +113,7 @@ func (c *nep5TokenNative) Transfer(ic *interop.Context, args []vm.StackItem) vm. func addrToStackItem(u *util.Uint160) vm.StackItem { if u == nil { - return nil + return vm.NullItem{} } return vm.NewByteArrayItem(u.BytesBE()) }