Skip to content

Commit 99412a5

Browse files
committed
Set opt_anchors for calls to CommitmentTransaction::new_with_auxiliary_htlc_data
1 parent 5773838 commit 99412a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/ln/functional_tests.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ fn test_update_fee_that_funder_cannot_afford() {
724724
INITIAL_COMMITMENT_NUMBER - 1,
725725
push_sats,
726726
channel_value - push_sats - commit_tx_fee_msat(non_buffer_feerate + 4, 0, opt_anchors) / 1000,
727-
false, local_funding, remote_funding,
727+
opt_anchors, local_funding, remote_funding,
728728
commit_tx_keys.clone(),
729729
non_buffer_feerate + 4,
730730
&mut htlcs,
@@ -1460,7 +1460,7 @@ fn test_fee_spike_violation_fails_htlc() {
14601460
commitment_number,
14611461
95000,
14621462
local_chan_balance,
1463-
false, local_funding, remote_funding,
1463+
local_chan.opt_anchors(), local_funding, remote_funding,
14641464
commit_tx_keys.clone(),
14651465
feerate_per_kw,
14661466
&mut vec![(accepted_htlc_info, ())],

0 commit comments

Comments
 (0)