Browse Source

bugfix transfer of already-seen commitments

master
Adam Gibson 8 years ago
parent
commit
0dc601714d
No known key found for this signature in database
GPG Key ID: B3AE09F1E9A3197A
  1. 3
      jmdaemon/jmdaemon/daemon_protocol.py

3
jmdaemon/jmdaemon/daemon_protocol.py

@ -341,8 +341,7 @@ class JMDaemonServerProtocol(amp.AMP, OrderbookWatch):
#Note that broadcast is happening here to reflect an already
#consumed commitment; it can also be broadcast separately (earlier) on
#valid usage
#Keep the type byte for communication so not scommit:
self.transfer_commitment(commit)
self.transfer_commitment(scommit)
return
offer_s = [o for o in self.offerlist if o['oid'] == oid]
if len(offer_s) == 0:

Loading…
Cancel
Save