]> git.bitcoin.ninja Git - rust-lightning/commitdiff
Fix silent rebase conflict in previous PR
authorMatt Corallo <git@bluematt.me>
Mon, 27 Feb 2023 18:28:26 +0000 (18:28 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 27 Feb 2023 18:28:40 +0000 (18:28 +0000)
lightning/src/ln/outbound_payment.rs

index 0f9b5e1f890f76dba579ea9e5b027b9de160a74d..15bba61dda408e208e6f9d9bf5d341ce116812be 100644 (file)
@@ -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();