Skip to content

Commit 735fa78

Browse files
committed
Fix warnings for ununsed anchor imports
Previously introduced during release commit.
1 parent cc1092c commit 735fa78

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: lightning/src/util/events.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
//! few other things.
1616
1717
use crate::chain::keysinterface::SpendableOutputDescriptor;
18+
#[cfg(anchors)]
1819
use crate::ln::chan_utils::HTLCOutputInCommitment;
1920
use crate::ln::channelmanager::PaymentId;
2021
use crate::ln::channel::FUNDING_CONF_DEADLINE_BLOCKS;
@@ -26,7 +27,9 @@ use crate::routing::gossip::NetworkUpdate;
2627
use crate::util::ser::{BigSize, FixedLengthReader, Writeable, Writer, MaybeReadable, Readable, VecReadWrapper, VecWriteWrapper};
2728
use crate::routing::router::{RouteHop, RouteParameters};
2829

29-
use bitcoin::{PackedLockTime, Transaction, OutPoint};
30+
use bitcoin::{PackedLockTime, Transaction};
31+
#[cfg(anchors)]
32+
use bitcoin::OutPoint;
3033
use bitcoin::blockdata::script::Script;
3134
use bitcoin::hashes::Hash;
3235
use bitcoin::hashes::sha256::Hash as Sha256;

0 commit comments

Comments
 (0)