Skip to content

Commit

Permalink
Fix warnings for ununsed anchor imports
Browse files Browse the repository at this point in the history
Previously introduced during release commit.
  • Loading branch information
tnull committed Oct 28, 2022
1 parent 36d66b8 commit dabe755
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lightning/src/util/events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
//! few other things.
use crate::chain::keysinterface::SpendableOutputDescriptor;
#[cfg(anchors)]
use crate::ln::chan_utils::HTLCOutputInCommitment;
use crate::ln::channelmanager::PaymentId;
use crate::ln::channel::FUNDING_CONF_DEADLINE_BLOCKS;
Expand All @@ -26,7 +27,9 @@ use crate::routing::gossip::NetworkUpdate;
use crate::util::ser::{BigSize, FixedLengthReader, Writeable, Writer, MaybeReadable, Readable, VecReadWrapper, VecWriteWrapper};
use crate::routing::router::{RouteHop, RouteParameters};

use bitcoin::{PackedLockTime, Transaction, OutPoint};
use bitcoin::{PackedLockTime, Transaction};
#[cfg(anchors)]
use bitcoin::OutPoint;
use bitcoin::blockdata::script::Script;
use bitcoin::hashes::Hash;
use bitcoin::hashes::sha256::Hash as Sha256;
Expand Down

0 comments on commit dabe755

Please sign in to comment.