File tree 1 file changed +6
-3
lines changed
1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -1985,7 +1985,10 @@ mod tests {
1985
1985
1986
1986
match gossip_sync. handle_channel_update ( & valid_channel_update) {
1987
1987
Ok ( res) => assert ! ( res) ,
1988
- Err ( _) => panic ! ( ) ,
1988
+ Err ( err) => {
1989
+ println ! ( "error: {:?}" , err) ;
1990
+ panic ! ( ) ;
1991
+ }
1989
1992
} ;
1990
1993
}
1991
1994
@@ -3764,7 +3767,7 @@ mod tests {
3764
3767
flags : 0 ,
3765
3768
cltv_expiry_delta : ( 3 << 4 ) | 1 ,
3766
3769
htlc_minimum_msat : 0 ,
3767
- htlc_maximum_msat : MAX_VALUE_MSAT ,
3770
+ htlc_maximum_msat : 15_000 ,
3768
3771
fee_base_msat : 0 ,
3769
3772
fee_proportional_millionths : 0 ,
3770
3773
excess_data : Vec :: new ( )
@@ -3776,7 +3779,7 @@ mod tests {
3776
3779
flags : 1 ,
3777
3780
cltv_expiry_delta : ( 3 << 4 ) | 2 ,
3778
3781
htlc_minimum_msat : 0 ,
3779
- htlc_maximum_msat : MAX_VALUE_MSAT ,
3782
+ htlc_maximum_msat : 15_000 ,
3780
3783
fee_base_msat : 100 ,
3781
3784
fee_proportional_millionths : 0 ,
3782
3785
excess_data : Vec :: new ( )
You can’t perform that action at this time.
0 commit comments