|
1 | 1 | use crate::bitcoin::OutPoint; |
2 | 2 | use crate::event::{EventQueue, LdkEventHandler}; |
3 | 3 | use crate::logging::Logger; |
4 | | -use crate::store::{TxMetadataStore, TxStatus}; |
| 4 | +use crate::store::TxStatus; |
5 | 5 | use crate::{ChainSource, InitFailure, PaymentType, Seed, WalletConfig}; |
6 | 6 |
|
7 | 7 | use bitcoin_payment_instructions::PaymentMethod; |
@@ -53,7 +53,7 @@ const DEFAULT_INVOICE_EXPIRY_SECS: u32 = 86_400; // 24 hours |
53 | 53 | impl LightningWallet { |
54 | 54 | pub(super) async fn init( |
55 | 55 | runtime: Arc<Runtime>, config: WalletConfig, store: Arc<dyn KVStore + Sync + Send>, |
56 | | - event_queue: Arc<EventQueue>, tx_metadata: TxMetadataStore, logger: Arc<Logger>, |
| 56 | + event_queue: Arc<EventQueue>, logger: Arc<Logger>, |
57 | 57 | ) -> Result<Self, InitFailure> { |
58 | 58 | log_info!(logger, "Creating LDK node..."); |
59 | 59 | let anchor_channels_config = ldk_node::config::AnchorChannelsConfig { |
@@ -164,7 +164,6 @@ impl LightningWallet { |
164 | 164 | ldk_node: Arc::clone(&ldk_node), |
165 | 165 | payment_receipt_sender, |
166 | 166 | channel_pending_sender, |
167 | | - tx_metadata, |
168 | 167 | logger, |
169 | 168 | }); |
170 | 169 | let inner = Arc::new(LightningWalletImpl { |
|
0 commit comments