Skip to content

Commit

Permalink
add more test for dry run
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyukang committed Nov 23, 2024
1 parent 30b5093 commit f7999b2
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/fiber/tests/channel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit f7999b2

Please sign in to comment.