Skip to content

Commit

Permalink
f sp
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBlueMatt committed Jul 19, 2022
1 parent cd89069 commit 2b57097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightning/src/routing/router.rs
Expand Up @@ -5762,7 +5762,7 @@ mod tests {
let payment_params = PaymentParameters::from_node_id(nodes[2]).with_features(InvoiceFeatures::known());
let keys_manager = test_utils::TestKeysInterface::new(&[0u8; 32], Network::Testnet);
let random_seed_bytes = keys_manager.get_secure_random_bytes();
// 100,000 sat is less than the available liquidity on each channel, set above.
// 100,000 sats is less than the available liquidity on each channel, set above.
let route = get_route(&our_id, &payment_params, &network_graph.read_only(), None, 100_000_000, 42, Arc::clone(&logger), &scorer, &random_seed_bytes).unwrap();
assert_eq!(route.paths.len(), 2);
assert!((route.paths[0][1].short_channel_id == 4 && route.paths[1][1].short_channel_id == 13) ||
Expand Down

0 comments on commit 2b57097

Please sign in to comment.