MurrayGroves/MurraxCoin

websocketSecure.connect() returns too early

MurrayGroves opened this issue · 1 comments

.connect() returns before initiateConnection() has finished negotiating the encrypted connection. This means that if .recv() is called immediately after .connect() returns, it errors since the sessionKey has not yet been defined.

Fixed in #11