From f7999b228c9de99133c61396cdf994cfe0bf1f3c Mon Sep 17 00:00:00 2001 From: yukang Date: Sat, 23 Nov 2024 11:23:50 +0800 Subject: [PATCH] add more test for dry run --- src/fiber/tests/channel.rs | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/fiber/tests/channel.rs b/src/fiber/tests/channel.rs index c95a308aa..7a69ecd0c 100644 --- a/src/fiber/tests/channel.rs +++ b/src/fiber/tests/channel.rs @@ -658,10 +658,11 @@ async fn test_network_send_payment_dry_run_can_still_query() { target_pubkey: Some(node_b_pubkey), amount: Some(10000), payment_hash: Some(payment_hash), - final_htlc_expiry_delta: None, + final_tlc_expiry_delta: None, invoice: None, timeout: None, max_fee_amount: None, + tlc_expiry_limit: None, max_parts: None, keysend: None, udt_type_script: None, @@ -682,10 +683,11 @@ async fn test_network_send_payment_dry_run_can_still_query() { target_pubkey: Some(node_b_pubkey), amount: Some(10000), payment_hash: Some(payment_hash), - final_htlc_expiry_delta: None, + final_tlc_expiry_delta: None, invoice: None, timeout: None, max_fee_amount: None, + tlc_expiry_limit: None, max_parts: None, keysend: None, udt_type_script: None, @@ -722,10 +724,11 @@ async fn test_network_send_payment_dry_run_will_not_create_payment_session() { target_pubkey: Some(node_b_pubkey), amount: Some(10000), payment_hash: Some(payment_hash), - final_htlc_expiry_delta: None, + final_tlc_expiry_delta: None, invoice: None, timeout: None, max_fee_amount: None, + tlc_expiry_limit: None, max_parts: None, keysend: None, udt_type_script: None, @@ -746,10 +749,11 @@ async fn test_network_send_payment_dry_run_will_not_create_payment_session() { target_pubkey: Some(node_b_pubkey), amount: Some(10000), payment_hash: Some(payment_hash), - final_htlc_expiry_delta: None, + final_tlc_expiry_delta: None, invoice: None, timeout: None, max_fee_amount: None, + tlc_expiry_limit: None, max_parts: None, keysend: None, udt_type_script: None,