Browse Source

Fix SNICKER daemon startup

Bug was introduced with 7e73e4caa9 when
return value of `start_daemon_on_port()` was changed from `int` to
`tuple`.
master
Kristaps Kaupe 4 years ago
parent
commit
840189cd0a
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