Skip to content

Commit

Permalink
Fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
tnull committed Jun 15, 2022
1 parent 9fdb3fc commit 0df09a0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions lightning/src/routing/router.rs
Expand Up @@ -1985,7 +1985,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 @@ -3764,7 +3767,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 @@ -3776,7 +3779,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 0df09a0

Please sign in to comment.