Browse Source

persist schedule on unconfirmed callback

master
Adam Gibson 9 years ago
parent
commit
5a1c2025b2
No known key found for this signature in database
GPG Key ID: B3AE09F1E9A3197A
  1. 2
      jmclient/jmclient/taker.py

2
jmclient/jmclient/taker.py

@ -614,6 +614,8 @@ class Taker(object):
def unconfirm_callback(self, txd, txid):
jlog.debug("Transaction seen on network, waiting for confirmation")
#To allow client to mark transaction as "done" (e.g. by persisting state)
self.on_finished_callback(True, fromtx="unconfirmed")
self.waiting_for_conf = True
def confirm_callback(self, txd, txid, confirmations):

Loading…
Cancel
Save