From 7f18131cfd4dbe26fd1b99ecd9f276ad28b9fa46 Mon Sep 17 00:00:00 2001 From: The MMGen Project Date: Sun, 1 Nov 2026 12:51:01 +0000 Subject: [PATCH] tx.online.send(): minor fixes --- mmgen/tx/online.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/mmgen/tx/online.py b/mmgen/tx/online.py index b98e58df..16d8d13b 100644 --- a/mmgen/tx/online.py +++ b/mmgen/tx/online.py @@ -168,12 +168,10 @@ class OnlineSigned(Signed): txid = getattr(self, f'coin_txid{sfx}') txhex = getattr(self, f'serialized{sfx}') ret.append(await getattr(self, f'send_op_{op}')(cfg, idx, txid, txhex, op_val)) - if op == 'proxy_send' and cfg.test: - continue - if sending and cfg.wait: + if cfg.wait and sending and not ret[-1]: post_network_ret.append(await self.post_network_send(txid)) - if sending and all(post_network_ret) and not cfg.txhex_idx: + if sending and all(post_network_ret) and not (cfg.txhex_idx or max(ret)): from ..ui import keypress_confirm if op == 'rpc_send' or not asi or keypress_confirm( cfg, 'Mark transaction as sent on removable device?'):