Skip to content

Commit

Permalink
fixup! fixup! fixup! Refactor ln-dlc channels tests
Browse files Browse the repository at this point in the history
  • Loading branch information
luckysori committed Aug 4, 2023
1 parent 94f2495 commit 5c92ecc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dlc-manager/tests/ln_dlc_channel_execution_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1784,7 +1784,7 @@ fn make_ln_payment(alice_node: &LnDlcParty, bob_node: &LnDlcParty, final_value_m
let scorer = TestScorer::with_penalty(0);
let random_seed_bytes = bob_node.keys_manager.get_secure_random_bytes();
let route_params = RouteParameters {
payment_params: payment_params.clone(),
payment_params,
final_value_msat,
};

Expand Down Expand Up @@ -2496,7 +2496,7 @@ fn off_chain_close_offer(test_params: &LnDlcTestParams, do_reconnect: bool) {
.unwrap();

if do_reconnect {
reconnect(&test_params);
reconnect(test_params);

assert_sub_channel_state!(
test_params.alice_node.sub_channel_manager,
Expand Down Expand Up @@ -2528,7 +2528,7 @@ fn off_chain_close_offer(test_params: &LnDlcTestParams, do_reconnect: bool) {
.unwrap();

if do_reconnect {
reconnect(&test_params);
reconnect(test_params);

assert_eq!(
0,
Expand Down

0 comments on commit 5c92ecc

Please sign in to comment.