Browse Source

various whitespace fixes

master
undeath 5 years ago committed by Adam Gibson
parent
commit
dfc82ab130
  1. 2
      jmclient/jmclient/client_protocol.py
  2. 3
      jmdaemon/jmdaemon/daemon_protocol.py

2
jmclient/jmclient/client_protocol.py

@ -512,7 +512,7 @@ class JMMakerClientProtocol(JMClientProtocol):
return {"accepted": True}
def tx_match(self, txd):
for k,v in self.finalized_offers.items():
for k, v in self.finalized_offers.items():
# Tx considered defined by its output set
if v["txd"].vout == txd.vout:
offerinfo = v

3
jmdaemon/jmdaemon/daemon_protocol.py

@ -157,6 +157,7 @@ class BIP78ReceiverResource(JMHTTPResource):
self.info_callback("Shutting down, payjoin negotiation failed.")
self.shutdown_callback()
class HTTPPassThrough(amp.AMP):
""" This class supports passing through
requests over HTTPS or over a socks proxy to a remote
@ -791,7 +792,7 @@ class JMDaemonServerProtocol(amp.AMP, OrderbookWatch):
"""
if nick not in self.active_orders:
return
ao =self.active_orders[nick]
ao = self.active_orders[nick]
#ask the client to validate the commitment and prepare the utxo data
d = self.callRemote(JMAuthReceived,
nick=nick,

Loading…
Cancel
Save