commit e0faf90a5a8d2dd72b92c53c57d715f1a69f0325
parent 293fba3a38f2a89080c8c7231ac0fac8863c46a3
Author: ThomasV <thomasv@electrum.org>
Date: Tue, 10 Oct 2017 19:55:38 +0200
Merge pull request #3012 from SomberNight/sweep_rbf
make sweep txs always RBF
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/lib/wallet.py b/lib/wallet.py
@@ -911,6 +911,7 @@ class Abstract_Wallet(PrintError):
outputs = [(TYPE_ADDRESS, recipient, total - fee)]
tx = Transaction.from_io(inputs, outputs)
+ tx.set_rbf(True)
tx.sign(keypairs)
return tx