From 22d9a66bcdd904f74167c026a23ccf829f285cb7 Mon Sep 17 00:00:00 2001 From: Dmitry Yudakov Date: Mon, 25 Sep 2023 20:20:19 +0300 Subject: [PATCH] fix(nfts): crash creating new world There's a bad check for whether the world is local leading to crash. I'm temp disabling it. --- universe/node/nfts.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/universe/node/nfts.go b/universe/node/nfts.go index 359da19b..127eb881 100644 --- a/universe/node/nfts.go +++ b/universe/node/nfts.go @@ -53,10 +53,10 @@ func (n *Node) Listener(bcName string, events []*harvester.UpdateEvent, stakeEve objectName := "Odyssey#" + strconv.FormatUint(seqID, 10) - isLocal := n.IsLocalWorld(world) - if !isLocal { - worldTemplate.ObjectTypeID = universe.RemoteWorldObjectTypeID - } + // isLocal := n.IsLocalWorld(world) + // if !isLocal { + // worldTemplate.ObjectTypeID = universe.RemoteWorldObjectTypeID + // } worldTemplate.ObjectID = &event.OdysseyID worldTemplate.ObjectName = &objectName