After connecting, call factory's setup before emitting the connected event. This allows the factory to do anything (like unsubscribing from channels) before anyone has the chance to send conflicting requests (like subscribing to channels)
After connecting, call factory's setup before emitting the connected event. This allows the factory to do anything (like unsubscribing from channels) before anyone has the chance to send conflicting requests (like subscribing to channels)

knowitnothing/btcx,knowitnothing/btcx