commands: signal for opt-in RBF in Spend transactions

This commit is contained in:
Antoine Poinsot 2022-11-17 14:52:27 +01:00
parent 3ce9d4f7ab
commit dbf17681a4
No known key found for this signature in database
GPG Key ID: E13FC145CD3F4304

View File

@ -298,6 +298,7 @@ impl DaemonControl {
in_value += coin.amount;
txins.push(bitcoin::TxIn {
previous_output: *op,
sequence: bitcoin::Sequence::ENABLE_RBF_NO_LOCKTIME,
// TODO: once we move to Taproot, anti-fee-sniping using nSequence
..bitcoin::TxIn::default()
});