Skip to content

Commit 4671a08

Browse files
committed
f fix rebase
1 parent cdaa0fd commit 4671a08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning/src/ln/functional_test_utils.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use chain::channelmonitor::ChannelMonitor;
1515
use chain::transaction::OutPoint;
1616
use ln::{PaymentPreimage, PaymentHash, PaymentSecret};
1717
use ln::channelmanager::{ChainParameters, ChannelManager, ChannelManagerReadArgs, RAACommitmentOrder, PaymentSendFailure, PaymentId, MIN_CLTV_EXPIRY_DELTA};
18-
use routing::gossip::{NetGraphMsgHandler, NetworkGraph, NetworkUpdate};
18+
use routing::gossip::{P2PGossipSync, NetworkGraph, NetworkUpdate};
1919
use routing::router::{PaymentParameters, Route, get_route};
2020
use ln::features::{InitFeatures, InvoiceFeatures};
2121
use ln::msgs;
@@ -1523,7 +1523,7 @@ pub fn expect_payment_failed_conditions<'a, 'b, 'c, 'd, 'e>(
15231523
const CHAN_DISABLED_FLAG: u8 = 2;
15241524
assert_eq!(msg.contents.flags & CHAN_DISABLED_FLAG, 0);
15251525
},
1526-
Some(NetworkUpdate::ChannelClosed { short_channel_id, is_permanent }) if chan_closed => {
1526+
Some(NetworkUpdate::ChannelFailure { short_channel_id, is_permanent }) if chan_closed => {
15271527
if let Some(scid) = conditions.expected_blamed_scid {
15281528
assert_eq!(short_channel_id, scid);
15291529
}

0 commit comments

Comments
 (0)