zenon-network / syrius

MIT License
17 stars 14 forks source link

Not connecting to Embedded Node on startup #116

Closed KingGorrin closed 2 months ago

KingGorrin commented 2 months ago

This PR fixes issue #115

PR #63 delayed starting the Embedded Node and made a slight change to the initWebSocketClient function. The Embedded Node is started correctly, but when initializing the connection the kCurrentNode needs to be translated to kLocalhostDefaultNodeUrl in case the Embedded Node is selected.

Previously the function always used kLocalhostDefaultNodeUrl as a fallback. This was removed because of the delayed startup.