You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use bitcoin::blockdata::transaction::{Transaction,TxIn,TxOut,SigHashType};
@@ -2857,7 +2860,7 @@ mod tests {
2857
2860
use hex;
2858
2861
use chain::channelmonitor::ChannelMonitor;
2859
2862
use chain::transaction::OutPoint;
2860
-
use ln::channelmanager::{PaymentPreimage,PaymentHash};
2863
+
use ln::channelmanager::{BestBlock,PaymentPreimage,PaymentHash};
2861
2864
use ln::onchaintx::{OnchainTxHandler,InputDescriptors};
2862
2865
use ln::chan_utils;
2863
2866
use ln::chan_utils::{HTLCOutputInCommitment,ChannelPublicKeys,ChannelTransactionParameters,HolderCommitmentTransaction,CounterpartyChannelTransactionParameters};
@@ -2953,13 +2956,13 @@ mod tests {
2953
2956
};
2954
2957
// Prune with one old state and a holder commitment tx holding a few overlaps with the
Copy file name to clipboardExpand all lines: lightning/src/ln/channel.rs
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ use bitcoin::secp256k1;
24
24
use ln::features::{ChannelFeatures,InitFeatures};
25
25
use ln::msgs;
26
26
use ln::msgs::{DecodeError,OptionalField,DataLossProtect};
27
-
use ln::channelmanager::{PendingHTLCStatus,HTLCSource,HTLCFailReason,HTLCFailureMsg,PendingHTLCInfo,RAACommitmentOrder,PaymentPreimage,PaymentHash,BREAKDOWN_TIMEOUT,MIN_CLTV_EXPIRY_DELTA,MAX_LOCAL_BREAKDOWN_TIMEOUT};
27
+
use ln::channelmanager::{BestBlock,PendingHTLCStatus,HTLCSource,HTLCFailReason,HTLCFailureMsg,PendingHTLCInfo,RAACommitmentOrder,PaymentPreimage,PaymentHash,BREAKDOWN_TIMEOUT,MIN_CLTV_EXPIRY_DELTA,MAX_LOCAL_BREAKDOWN_TIMEOUT};
28
28
use ln::chan_utils::{CounterpartyCommitmentSecrets,TxCreationKeys,HTLCOutputInCommitment,HTLC_SUCCESS_TX_WEIGHT,HTLC_TIMEOUT_TX_WEIGHT, make_funding_redeemscript,ChannelPublicKeys,CommitmentTransaction,HolderCommitmentTransaction,ChannelTransactionParameters,CounterpartyChannelTransactionParameters,MAX_HTLCS, get_commitment_transaction_number_obscure_factor};
29
29
use ln::chan_utils;
30
30
use chain::chaininterface::{FeeEstimator,ConfirmationTarget};
use ln::channelmanager::{HTLCSource,PaymentPreimage,PaymentHash};
4828
+
use ln::channelmanager::{BestBlock,HTLCSource,PaymentPreimage,PaymentHash};
4829
4829
use ln::channel::{Channel,InboundHTLCOutput,OutboundHTLCOutput,InboundHTLCState,OutboundHTLCState,HTLCOutputInCommitment,HTLCCandidate,HTLCInitiator,TxCreationKeys};
0 commit comments