File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1137,7 +1137,7 @@ where
11371137 }
11381138 }
11391139
1140- let user_channel_id: u128 = rng ( ) . random :: < u128 > ( ) ;
1140+ let user_channel_id: u128 = rng ( ) . random ( ) ;
11411141 let allow_0conf = self . config . trusted_peers_0conf . contains ( & counterparty_node_id) ;
11421142 let mut channel_override_config = None ;
11431143 if let Some ( ( lsp_node_id, _) ) = self
Original file line number Diff line number Diff line change @@ -1117,7 +1117,7 @@ impl Node {
11171117 }
11181118
11191119 let push_msat = push_to_counterparty_msat. unwrap_or ( 0 ) ;
1120- let user_channel_id: u128 = rand:: rng ( ) . random :: < u128 > ( ) ;
1120+ let user_channel_id: u128 = rand:: rng ( ) . random ( ) ;
11211121
11221122 match self . channel_manager . create_channel (
11231123 peer_info. node_id ,
Original file line number Diff line number Diff line change @@ -562,7 +562,7 @@ where
562562 return ;
563563 } ;
564564
565- let user_channel_id: u128 = rand:: rng ( ) . random :: < u128 > ( ) ;
565+ let user_channel_id: u128 = rand:: rng ( ) . random ( ) ;
566566 let intercept_scid = self . channel_manager . get_intercept_scid ( ) ;
567567
568568 if let Some ( payment_size_msat) = payment_size_msat {
You can’t perform that action at this time.
0 commit comments