File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -2242,10 +2242,6 @@ mod tests {
2242
2242
PublicKey :: from_secret_key ( & secp_ctx, & recipient_privkey ( ) )
2243
2243
}
2244
2244
2245
- fn sender_node_id ( ) -> NodeId {
2246
- NodeId :: from_pubkey ( & sender_pubkey ( ) )
2247
- }
2248
-
2249
2245
fn recipient_node_id ( ) -> NodeId {
2250
2246
NodeId :: from_pubkey ( & recipient_pubkey ( ) )
2251
2247
}
@@ -2900,7 +2896,7 @@ mod tests {
2900
2896
effective_capacity : EffectiveCapacity :: Total { capacity_msat : 1_024 , htlc_maximum_msat : 1_024 } ,
2901
2897
} ;
2902
2898
let channel = network_graph. read_only ( ) . channel ( 42 ) . unwrap ( ) . to_owned ( ) ;
2903
- let ( info, target ) = channel. as_directed_from ( & source) . unwrap ( ) ;
2899
+ let ( info, _ ) = channel. as_directed_from ( & source) . unwrap ( ) ;
2904
2900
let candidate = CandidateRouteHop :: PublicHop {
2905
2901
info,
2906
2902
short_channel_id : 42 ,
@@ -3000,7 +2996,7 @@ mod tests {
3000
2996
effective_capacity : EffectiveCapacity :: Total { capacity_msat : 1_024 , htlc_maximum_msat : 1_000 } ,
3001
2997
} ;
3002
2998
let channel = network_graph. read_only ( ) . channel ( 42 ) . unwrap ( ) . to_owned ( ) ;
3003
- let ( info, target ) = channel. as_directed_from ( & source) . unwrap ( ) ;
2999
+ let ( info, _ ) = channel. as_directed_from ( & source) . unwrap ( ) ;
3004
3000
let candidate = CandidateRouteHop :: PublicHop {
3005
3001
info,
3006
3002
short_channel_id : 42 ,
You can’t perform that action at this time.
0 commit comments