diff --git a/node/basicnode/int.go b/node/basicnode/int.go index 3ef4653d..d8e8ac2f 100644 --- a/node/basicnode/int.go +++ b/node/basicnode/int.go @@ -18,7 +18,8 @@ var ( ) func NewInt(value int64) datamodel.Node { - return plainInt(value) + v := plainInt(value) + return &v } // NewUint creates a new uint64-backed Node which will behave as a plain Int