Skip to content

Commit 4913b30

Browse files
committed
f - fix lint warnings
1 parent f5933cb commit 4913b30

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

lightning/src/ln/channel.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ use bitcoin::consensus::encode;
1313
use bitcoin::constants::ChainHash;
1414
use bitcoin::script::{Builder, Script, ScriptBuf, WScriptHash};
1515
use bitcoin::sighash::EcdsaSighashType;
16-
use bitcoin::transaction::{Transaction, TxIn, TxOut};
16+
use bitcoin::transaction::{Transaction, TxOut};
1717
use bitcoin::Weight;
1818

1919
use bitcoin::hash_types::{BlockHash, Txid};
@@ -26,7 +26,7 @@ use bitcoin::secp256k1::{ecdsa::Signature, Secp256k1};
2626
use bitcoin::secp256k1::{PublicKey, SecretKey};
2727
use bitcoin::{secp256k1, sighash};
2828
#[cfg(splicing)]
29-
use bitcoin::{Sequence, Witness};
29+
use bitcoin::{Sequence, TxIn, Witness};
3030

3131
use crate::chain::chaininterface::{
3232
fee_for_weight, ConfirmationTarget, FeeEstimator, LowerBoundedFeeEstimator,
@@ -14130,7 +14130,9 @@ mod tests {
1413014130
TOTAL_BITCOIN_SUPPLY_SATOSHIS,
1413114131
};
1413214132
use crate::ln::channel_keys::{RevocationBasepoint, RevocationKey};
14133-
use crate::ln::channelmanager::{self, FundingTxInput, HTLCSource, PaymentId};
14133+
#[cfg(splicing)]
14134+
use crate::ln::channelmanager::FundingTxInput;
14135+
use crate::ln::channelmanager::{self, HTLCSource, PaymentId};
1413414136
use crate::ln::msgs;
1413514137
use crate::ln::msgs::{ChannelUpdate, UnsignedChannelUpdate, MAX_VALUE_MSAT};
1413614138
use crate::ln::onion_utils::{AttributionData, LocalHTLCFailureReason};

0 commit comments

Comments
 (0)