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};
@@ -2853,7 +2856,7 @@ mod tests {
2853
2856
use hex;
2854
2857
use chain::channelmonitor::ChannelMonitor;
2855
2858
use chain::transaction::OutPoint;
2856
-
use ln::channelmanager::{PaymentPreimage,PaymentHash};
2859
+
use ln::channelmanager::{BestBlock,PaymentPreimage,PaymentHash};
2857
2860
use ln::onchaintx::{OnchainTxHandler,InputDescriptors};
2858
2861
use ln::chan_utils;
2859
2862
use ln::chan_utils::{HTLCOutputInCommitment,ChannelPublicKeys,ChannelTransactionParameters,HolderCommitmentTransaction,CounterpartyChannelTransactionParameters};
@@ -2949,13 +2952,13 @@ mod tests {
2949
2952
};
2950
2953
// 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