Browse Source

Merge JoinMarket-Org/joinmarket-clientserver#1068: Fix SNICKER daemon startup

840189cd0a Fix SNICKER daemon startup (Kristaps Kaupe)

Pull request description:

  Fixes #1067.

  Bug was introduced with 7e73e4caa9 (part of #996) when return value of `start_daemon_on_port()` was changed from `int` to `tuple`.

Top commit has no ACKs.

Tree-SHA512: 76bfbbf89b66d39d277bac4aed515cd251fe5f40e6eaafc2596c2e095a60931f1cddd2b147e4fd51d07c99c6ff8c94bbc2fe661a618da0220ff4924128833031
master
Kristaps Kaupe 4 years ago
parent
commit
647fa6dd13
No known key found for this signature in database
GPG Key ID: 33E472FE870C7E5D
  1. 3
      jmclient/jmclient/client_protocol.py

3
jmclient/jmclient/client_protocol.py

@ -860,7 +860,8 @@ def start_reactor(host, port, factory=None, snickerfactory=None,
# (See above) For now these other two are just on ports that are 1K offsets.
if snickerfactory:
snickerport, serverconn = start_daemon_on_port(port_a, sdfactory,
"SNICKER", 1000) - 1000
"SNICKER", 1000)
snickerport = snickerport - 1000
if bip78:
start_daemon_on_port(port_a, bip78factory, "BIP78", 2000)

Loading…
Cancel
Save