HomePhabricator

[electrum] move-only: move the early exit conditions before the broadcast…

Description

[electrum] move-only: move the early exit conditions before the broadcast functions in broadcast_transaction

Summary:
No need to define broadcast_thread or and broadcast_done local functions if we are not going to use them because there is no network or the fee is too low.

Depends on D14847

Test Plan: send a transaction

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D14848

Details

Provenance
PiRKAuthored on Nov 24 2023, 11:48
PiRKPushed on Nov 24 2023, 21:09
Reviewer
Restricted Project
Differential Revision
D14848: [electrum] move-only: move the early exit conditions before the broadcast functions in broadcast_transaction
Parents
rABCb60b02ab8132: [electrum] misc cleanups of ElectrumWindow.broadcast_transaction
Branches
Unknown
Tags
Unknown