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,TxOut,SigHashType};
6293
+
use bitcoin::blockdata::transaction::{Transaction,TxOut};
6296
6294
use bitcoin::blockdata::constants::genesis_block;
6297
6295
use bitcoin::blockdata::opcodes;
6298
6296
use bitcoin::network::constants::Network;
6299
-
use bitcoin::hashes::hex::FromHex;
6300
6297
use hex;
6301
-
use ln::{PaymentPreimage,PaymentHash};
6298
+
use ln::PaymentHash;
6302
6299
use ln::channelmanager::{HTLCSource,PaymentId};
6303
-
use ln::channel::{Channel,InboundHTLCOutput,OutboundHTLCOutput,InboundHTLCState,OutboundHTLCState,HTLCOutputInCommitment,HTLCCandidate,HTLCInitiator,TxCreationKeys};
6300
+
use ln::channel::{Channel,InboundHTLCOutput,OutboundHTLCOutput,InboundHTLCState,OutboundHTLCState,HTLCCandidate,HTLCInitiator};
6304
6301
use ln::channel::MAX_FUNDING_SATOSHIS;
6305
6302
use ln::features::InitFeatures;
6306
6303
use ln::msgs::{ChannelUpdate,DataLossProtect,DecodeError,OptionalField,UnsignedChannelUpdate};
6307
6304
use ln::script::ShutdownScript;
6308
6305
use ln::chan_utils;
6309
-
use ln::chan_utils::{ChannelPublicKeys,HolderCommitmentTransaction,CounterpartyChannelTransactionParameters,htlc_success_tx_weight, htlc_timeout_tx_weight};
6306
+
use ln::chan_utils::{htlc_success_tx_weight, htlc_timeout_tx_weight};
6310
6307
use chain::BestBlock;
6311
6308
use chain::chaininterface::{FeeEstimator,ConfirmationTarget};
6312
-
use chain::keysinterface::{InMemorySigner,Recipient,KeyMaterial,KeysInterface,BaseSign};
6309
+
use chain::keysinterface::{InMemorySigner,Recipient,KeyMaterial,KeysInterface};
6313
6310
use chain::transaction::OutPoint;
6314
6311
use util::config::UserConfig;
6315
6312
use util::enforcing_trait_impls::EnforcingSigner;
6316
6313
use util::errors::APIError;
6317
6314
use util::test_utils;
6318
6315
use util::test_utils::OnGetShutdownScriptpubkey;
6319
-
use util::logger::Logger;
6320
-
use bitcoin::secp256k1::{Secp256k1,Message,Signature,All};
6316
+
use bitcoin::secp256k1::{Secp256k1,Signature};
6321
6317
use bitcoin::secp256k1::ffi::SignatureasFFISignature;
6322
6318
use bitcoin::secp256k1::key::{SecretKey,PublicKey};
6323
6319
use bitcoin::secp256k1::recovery::RecoverableSignature;
0 commit comments