diff --git a/jmclient/jmclient/wallet_service.py b/jmclient/jmclient/wallet_service.py index 19a6037..55ba6b2 100644 --- a/jmclient/jmclient/wallet_service.py +++ b/jmclient/jmclient/wallet_service.py @@ -860,6 +860,14 @@ class WalletService(Service): script = hextobin(utxo['scriptPubKey']) value = int(Decimal(str(utxo['amount'])) * Decimal('1e8')) self.add_utxo(txid, int(utxo['vout']), script, value, height) + # if we start up with unconfirmed outputs, they must be + # put into the transaction monitor state, so we can recognize + # when they transition to confirmed. + if height is None: + txd = self.bci.get_deser_from_gettransaction( + self.bci.get_transaction(txid)) + self.active_txs[utxo['txid']] = txd + self.processed_txids.add(utxo['txid']) """ The following functions mostly are not pure