From: Matt Corallo Date: Mon, 27 Feb 2023 18:28:26 +0000 (+0000) Subject: Fix silent rebase conflict in previous PR X-Git-Tag: v0.0.114-beta~2^2~2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=bb0f6964665aa8b0b5e98fa2b3797d345ad1fd30;p=rust-lightning Fix silent rebase conflict in previous PR --- diff --git a/lightning/src/ln/outbound_payment.rs b/lightning/src/ln/outbound_payment.rs index 0f9b5e1f8..15bba61dd 100644 --- a/lightning/src/ln/outbound_payment.rs +++ b/lightning/src/ln/outbound_payment.rs @@ -1459,8 +1459,7 @@ mod tests { fn initial_send_payment_path_failed_evs() { let outbound_payments = OutboundPayments::new(); let logger = test_utils::TestLogger::new(); - let genesis_hash = genesis_block(Network::Testnet).header.block_hash(); - let network_graph = Arc::new(NetworkGraph::new(genesis_hash, &logger)); + let network_graph = Arc::new(NetworkGraph::new(Network::Testnet, &logger)); let scorer = Mutex::new(test_utils::TestScorer::new()); let router = test_utils::TestRouter::new(network_graph, &scorer); let secp_ctx = Secp256k1::new();