Skip to content

Commit

Permalink
f - provide locktime as arg
Browse files Browse the repository at this point in the history
  • Loading branch information
alecchendev committed Aug 3, 2023
1 parent efeecc4 commit 5735e75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightning/src/util/test_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ impl WatchtowerPersister {
let built_tx = trusted_tx.built_transaction();
let value = built_tx.transaction.output[output_idx as usize].value;
let justice_tx = counterparty_commitment_tx.build_justice_tx(output_idx as u32,
FEERATE_FLOOR_SATS_PER_KW as u64, self.destination_script.clone()).ok()?;
FEERATE_FLOOR_SATS_PER_KW as u64, 0, self.destination_script.clone()).ok()?;
let commitment_number = counterparty_commitment_tx.commitment_number();
Some(JusticeTxData { justice_tx, value, commitment_number })
}
Expand Down

0 comments on commit 5735e75

Please sign in to comment.