Skip to content

Commit

Permalink
Fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
tnull committed Jul 12, 2022
1 parent 8916530 commit 760a52b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions lightning/src/routing/router.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1994,7 +1994,10 @@ mod tests {

match gossip_sync.handle_channel_update(&valid_channel_update) {
Ok(res) => assert!(res),
Err(_) => panic!(),
Err(err) => {
println!("error: {:?}", err);
panic!();
}
};
}

Expand Down Expand Up @@ -3773,7 +3776,7 @@ mod tests {
flags: 0,
cltv_expiry_delta: (3 << 4) | 1,
htlc_minimum_msat: 0,
htlc_maximum_msat: MAX_VALUE_MSAT,
htlc_maximum_msat: 15_000,
fee_base_msat: 0,
fee_proportional_millionths: 0,
excess_data: Vec::new()
Expand All @@ -3785,7 +3788,7 @@ mod tests {
flags: 1,
cltv_expiry_delta: (3 << 4) | 2,
htlc_minimum_msat: 0,
htlc_maximum_msat: MAX_VALUE_MSAT,
htlc_maximum_msat: 15_000,
fee_base_msat: 100,
fee_proportional_millionths: 0,
excess_data: Vec::new()
Expand Down

0 comments on commit 760a52b

Please sign in to comment.