Skip to content

Commit 229086d

Browse files
committed
f - fix lint warning
1 parent 63413b0 commit 229086d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lightning/src/ln/channel.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ use crate::chain::transaction::{OutPoint, TransactionData};
3939
use crate::chain::BestBlock;
4040
use crate::events::bump_transaction::BASE_INPUT_WEIGHT;
4141
use crate::events::{ClosureReason, Event};
42+
use crate::ln::chan_utils;
4243
#[cfg(splicing)]
4344
use crate::ln::chan_utils::FUNDING_TRANSACTION_WITNESS_WEIGHT;
4445
use crate::ln::chan_utils::{
@@ -71,7 +72,8 @@ use crate::ln::onion_utils::{
7172
};
7273
use crate::ln::script::{self, ShutdownScript};
7374
use crate::ln::types::ChannelId;
74-
use crate::ln::{chan_utils, LN_MAX_MSG_LEN};
75+
#[cfg(splicing)]
76+
use crate::ln::LN_MAX_MSG_LEN;
7577
use crate::routing::gossip::NodeId;
7678
use crate::sign::ecdsa::EcdsaChannelSigner;
7779
use crate::sign::tx_builder::{SpecTxBuilder, TxBuilder};

0 commit comments

Comments
 (0)