|
|
|
|
@ -796,9 +796,11 @@ class Taker(object):
|
|
|
|
|
self.wallet_service.register_callbacks([self.unconfirm_callback], |
|
|
|
|
txid, "unconfirmed") |
|
|
|
|
if jm_single().config.get('POLICY', 'tx_broadcast') == "not-self": |
|
|
|
|
warnmsg = ("You have chosen not to broadcast from your own " |
|
|
|
|
"node. The transaction is NOT broadcast.") |
|
|
|
|
self.taker_info_callback("ABORT", warnmsg + "\nSee log for details.") |
|
|
|
|
# warning is arguably not correct but it will stand out more: |
|
|
|
|
jlog.warn("You have chosen not to broadcast from your own " |
|
|
|
|
"node. The transaction is NOT broadcast:") |
|
|
|
|
jlog.warn(warnmsg) |
|
|
|
|
jlog.info(btc.human_readable_transaction(tx)) |
|
|
|
|
return |
|
|
|
|
if not self.push_ourselves(): |
|
|
|
|
|