Merge pull request #3012 from SomberNight/sweep_rbf
make sweep txs always RBF
This commit is contained in:
@@ -911,6 +911,7 @@ class Abstract_Wallet(PrintError):
|
|||||||
|
|
||||||
outputs = [(TYPE_ADDRESS, recipient, total - fee)]
|
outputs = [(TYPE_ADDRESS, recipient, total - fee)]
|
||||||
tx = Transaction.from_io(inputs, outputs)
|
tx = Transaction.from_io(inputs, outputs)
|
||||||
|
tx.set_rbf(True)
|
||||||
tx.sign(keypairs)
|
tx.sign(keypairs)
|
||||||
return tx
|
return tx
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user