@@ -40,7 +40,7 @@ use crate::events::{Event, EventHandler, EventsProvider, MessageSendEvent, Messa
40
40
// Since this struct is returned in `list_channels` methods, expose it here in case users want to
41
41
// construct one themselves.
42
42
use crate :: ln:: { inbound_payment, PaymentHash , PaymentPreimage , PaymentSecret } ;
43
- use crate :: ln:: channel:: { Channel , ChannelError , ChannelUpdateStatus , UpdateFulfillCommitFetch } ;
43
+ use crate :: ln:: channel:: { Channel , ChannelError , ChannelUpdateStatus , ShutdownResult , UpdateFulfillCommitFetch } ;
44
44
use crate :: ln:: features:: { ChannelFeatures , ChannelTypeFeatures , InitFeatures , NodeFeatures } ;
45
45
#[ cfg( any( feature = "_test_utils" , test) ) ]
46
46
use crate :: ln:: features:: InvoiceFeatures ;
@@ -359,8 +359,6 @@ pub enum FailureCode {
359
359
IncorrectOrUnknownPaymentDetails = 0x4000 | 15 ,
360
360
}
361
361
362
- type ShutdownResult = ( Option < ( OutPoint , ChannelMonitorUpdate ) > , Vec < ( HTLCSource , PaymentHash , PublicKey , [ u8 ; 32 ] ) > ) ;
363
-
364
362
/// Error type returned across the peer_state mutex boundary. When an Err is generated for a
365
363
/// Channel, we generally end up with a ChannelError::Close for which we have to close the channel
366
364
/// immediately (ie with no further calls on it made). Thus, this step happens inside a
0 commit comments