mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-04 21:05:11 +00:00
parent
b6b8aadd55
commit
906a2c15dc
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue