20
20
//! security-domain-separated system design, you should consider having multiple paths for
21
21
//! ChannelMonitors to get out of the HSM and onto monitoring devices.
22
22
23
- use bitcoin:: blockdata:: block:: { Block , BlockHeader } ;
23
+ use bitcoin:: blockdata:: block:: BlockHeader ;
24
24
use bitcoin:: blockdata:: transaction:: { TxOut , Transaction } ;
25
25
use bitcoin:: blockdata:: transaction:: OutPoint as BitcoinOutPoint ;
26
26
use bitcoin:: blockdata:: script:: { Script , Builder } ;
@@ -42,7 +42,7 @@ use ln::channelmanager::{BestBlock, HTLCSource};
42
42
use ln:: onchaintx:: OnchainTxHandler ;
43
43
use ln:: onchain_utils:: InputDescriptors ;
44
44
use chain;
45
- use chain:: WatchedOutput ;
45
+ use chain:: { Block , WatchedOutput } ;
46
46
use chain:: chaininterface:: { BroadcasterInterface , FeeEstimator } ;
47
47
use chain:: transaction:: { OutPoint , TransactionData } ;
48
48
use chain:: keysinterface:: { SpendableOutputDescriptor , StaticPaymentOutputDescriptor , DelayedPaymentOutputDescriptor , Sign , KeysInterface } ;
@@ -353,7 +353,7 @@ pub(crate) enum InputMaterial {
353
353
}
354
354
}
355
355
356
- impl Writeable for InputMaterial {
356
+ impl Writeable for InputMaterial {
357
357
fn write < W : Writer > ( & self , writer : & mut W ) -> Result < ( ) , :: std:: io:: Error > {
358
358
match self {
359
359
& InputMaterial :: Revoked { ref per_commitment_point, ref counterparty_delayed_payment_base_key, ref counterparty_htlc_base_key, ref per_commitment_key, ref input_descriptor, ref amount, ref htlc, ref on_counterparty_tx_csv} => {
0 commit comments