tsweeping via CLI: allow customising RBF - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 906a2c15dc4450c9fd083999bc0712a6aa866da0 DIR parent b6b8aadd55816b01eed439599bad669f7ca9c011 HTML Author: SomberNight <somber.night@protonmail.com> Date: Sat, 13 Jun 2020 18:44:20 +0200 sweeping via CLI: allow customising RBF fixes #6231 Diffstat: M electrum/wallet.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- DIR diff --git a/electrum/wallet.py b/electrum/wallet.py t@@ -184,7 +184,9 @@ def sweep(privkeys, *, network: 'Network', config: 'SimpleConfig', locktime = get_locktime_for_new_transaction(network) tx = PartialTransaction.from_io(inputs, outputs, locktime=locktime, version=tx_version) - tx.set_rbf(True) + rbf = config.get('use_rbf', True) + if rbf: + tx.set_rbf(True) tx.sign(keypairs) return tx