Skip to content

Commit b24f081

Browse files
committed
Fix test.
1 parent 122cf53 commit b24f081

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

lightning/src/routing/router.rs

+6-3
Original file line numberDiff line numberDiff line change
@@ -1969,7 +1969,10 @@ mod tests {
19691969

19701970
match gossip_sync.handle_channel_update(&valid_channel_update) {
19711971
Ok(res) => assert!(res),
1972-
Err(_) => panic!(),
1972+
Err(err) => {
1973+
println!("error: {:?}", err);
1974+
panic!();
1975+
}
19731976
};
19741977
}
19751978

@@ -3748,7 +3751,7 @@ mod tests {
37483751
flags: 0,
37493752
cltv_expiry_delta: (3 << 4) | 1,
37503753
htlc_minimum_msat: 0,
3751-
htlc_maximum_msat: MAX_VALUE_MSAT,
3754+
htlc_maximum_msat: 15_000,
37523755
fee_base_msat: 0,
37533756
fee_proportional_millionths: 0,
37543757
excess_data: Vec::new()
@@ -3760,7 +3763,7 @@ mod tests {
37603763
flags: 1,
37613764
cltv_expiry_delta: (3 << 4) | 2,
37623765
htlc_minimum_msat: 0,
3763-
htlc_maximum_msat: MAX_VALUE_MSAT,
3766+
htlc_maximum_msat: 15_000,
37643767
fee_base_msat: 100,
37653768
fee_proportional_millionths: 0,
37663769
excess_data: Vec::new()

0 commit comments

Comments
 (0)