Skip to content

Commit 0df09a0

Browse files
committed
Fix test.
1 parent 9fdb3fc commit 0df09a0

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

lightning/src/routing/router.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1985,7 +1985,10 @@ mod tests {
19851985

19861986
match gossip_sync.handle_channel_update(&valid_channel_update) {
19871987
Ok(res) => assert!(res),
1988-
Err(_) => panic!(),
1988+
Err(err) => {
1989+
println!("error: {:?}", err);
1990+
panic!();
1991+
}
19891992
};
19901993
}
19911994

@@ -3764,7 +3767,7 @@ mod tests {
37643767
flags: 0,
37653768
cltv_expiry_delta: (3 << 4) | 1,
37663769
htlc_minimum_msat: 0,
3767-
htlc_maximum_msat: MAX_VALUE_MSAT,
3770+
htlc_maximum_msat: 15_000,
37683771
fee_base_msat: 0,
37693772
fee_proportional_millionths: 0,
37703773
excess_data: Vec::new()
@@ -3776,7 +3779,7 @@ mod tests {
37763779
flags: 1,
37773780
cltv_expiry_delta: (3 << 4) | 2,
37783781
htlc_minimum_msat: 0,
3779-
htlc_maximum_msat: MAX_VALUE_MSAT,
3782+
htlc_maximum_msat: 15_000,
37803783
fee_base_msat: 100,
37813784
fee_proportional_millionths: 0,
37823785
excess_data: Vec::new()

0 commit comments

Comments
 (0)