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};
@@ -2847,7 +2850,7 @@ mod tests {
2847
2850
use hex;
2848
2851
use chain::channelmonitor::ChannelMonitor;
2849
2852
use chain::transaction::OutPoint;
2850
-
use ln::channelmanager::{PaymentPreimage,PaymentHash};
2853
+
use ln::channelmanager::{BestBlock,PaymentPreimage,PaymentHash};
2851
2854
use ln::onchaintx::{OnchainTxHandler,InputDescriptors};
2852
2855
use ln::chan_utils;
2853
2856
use ln::chan_utils::{HTLCOutputInCommitment,ChannelPublicKeys,ChannelTransactionParameters,HolderCommitmentTransaction,CounterpartyChannelTransactionParameters};
@@ -2943,13 +2946,13 @@ mod tests {
2943
2946
};
2944
2947
// 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};
4802
+
use ln::channelmanager::{BestBlock,HTLCSource,PaymentPreimage,PaymentHash};
4803
4803
use ln::channel::{Channel,InboundHTLCOutput,OutboundHTLCOutput,InboundHTLCState,OutboundHTLCState,HTLCOutputInCommitment,HTLCCandidate,HTLCInitiator,TxCreationKeys};
0 commit comments