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 @@ -1969,7 +1969,10 @@ mod tests {
1969
1969
1970
1970
match gossip_sync. handle_channel_update ( & valid_channel_update) {
1971
1971
Ok ( res) => assert ! ( res) ,
1972
- Err ( _) => panic ! ( ) ,
1972
+ Err ( err) => {
1973
+ println ! ( "error: {:?}" , err) ;
1974
+ panic ! ( ) ;
1975
+ }
1973
1976
} ;
1974
1977
}
1975
1978
@@ -3748,7 +3751,7 @@ mod tests {
3748
3751
flags : 0 ,
3749
3752
cltv_expiry_delta : ( 3 << 4 ) | 1 ,
3750
3753
htlc_minimum_msat : 0 ,
3751
- htlc_maximum_msat : MAX_VALUE_MSAT ,
3754
+ htlc_maximum_msat : 15_000 ,
3752
3755
fee_base_msat : 0 ,
3753
3756
fee_proportional_millionths : 0 ,
3754
3757
excess_data : Vec :: new ( )
@@ -3760,7 +3763,7 @@ mod tests {
3760
3763
flags : 1 ,
3761
3764
cltv_expiry_delta : ( 3 << 4 ) | 2 ,
3762
3765
htlc_minimum_msat : 0 ,
3763
- htlc_maximum_msat : MAX_VALUE_MSAT ,
3766
+ htlc_maximum_msat : 15_000 ,
3764
3767
fee_base_msat : 100 ,
3765
3768
fee_proportional_millionths : 0 ,
3766
3769
excess_data : Vec :: new ( )
You can’t perform that action at this time.
0 commit comments