Skip to content

Commit

Permalink
Feat: Make random bytes deterministic within the test test_restored_p…
Browse files Browse the repository at this point in the history
…ackages_retry fixes #2827
  • Loading branch information
Harsh1s authored Jan 17, 2024
1 parent 547673c commit 600f3a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightning/src/ln/monitor_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1977,7 +1977,7 @@ fn do_test_restored_packages_retry(check_old_monitor_retries_after_upgrade: bool
let node_deserialized;

let mut nodes = create_network(2, &node_cfgs, &node_chanmgrs);

// Open a channel, lock in an HTLC, and immediately broadcast the commitment transaction. This
// ensures that the HTLC timeout package is held until we reach its expiration height.
let (_, _, chan_id, funding_tx) = create_announced_chan_between_nodes_with_value(&nodes, 0, 1, 100_000, 50_000_000);
Expand Down

0 comments on commit 600f3a0

Please sign in to comment.