Signed-off-by: Roland Haeder <roland@mxchange.org>
$this->debugBackTrace('[' . __METHOD__ . ':' . __LINE__ . ']: node mode ' . $nodeMode . ' is invalid.');
}
- // Set the node instance in registry
- Registry::getRegistry()->addInstance('node', $nodeInstance);
+ // Debug message
//* DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('NODE-INIT-FILTER[' . __METHOD__ . ':' . __LINE__ . ']: Node ' . $nodeMode . ' has been added to registry.');
}
}
// Set it here
$this->setCryptoInstance($cryptoInstance);
+ // Set the node instance in registry
+ Registry::getRegistry()->addInstance('node', $this);
+
// Init state which sets the state to 'init'
$this->initState();
}