Skip to content

Commit 7cb1d34

Browse files
committed
Drop intermittent impl blocks on ChainSource
.. now that we don't need them anymore for review, we drop the extra `impl` blocks again.
1 parent a7e54d8 commit 7cb1d34

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/chain/mod.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -347,9 +347,7 @@ impl ChainSource {
347347
}
348348
}
349349
}
350-
}
351350

352-
impl ChainSource {
353351
// Synchronize the onchain wallet via transaction-based protocols (i.e., Esplora, Electrum,
354352
// etc.)
355353
pub(crate) async fn sync_onchain_wallet(&self) -> Result<(), Error> {
@@ -367,9 +365,7 @@ impl ChainSource {
367365
},
368366
}
369367
}
370-
}
371368

372-
impl ChainSource {
373369
// Synchronize the Lightning wallet via transaction-based protocols (i.e., Esplora, Electrum,
374370
// etc.)
375371
pub(crate) async fn sync_lightning_wallet(
@@ -394,9 +390,7 @@ impl ChainSource {
394390
},
395391
}
396392
}
397-
}
398393

399-
impl ChainSource {
400394
pub(crate) async fn poll_and_update_listeners(
401395
&self, channel_manager: Arc<ChannelManager>, chain_monitor: Arc<ChainMonitor>,
402396
output_sweeper: Arc<Sweeper>,
@@ -419,9 +413,7 @@ impl ChainSource {
419413
},
420414
}
421415
}
422-
}
423416

424-
impl ChainSource {
425417
pub(crate) async fn update_fee_rate_estimates(&self) -> Result<(), Error> {
426418
match &self.kind {
427419
ChainSourceKind::Esplora(esplora_chain_source) => {
@@ -435,9 +427,7 @@ impl ChainSource {
435427
},
436428
}
437429
}
438-
}
439430

440-
impl ChainSource {
441431
pub(crate) async fn process_broadcast_queue(&self) {
442432
match &self.kind {
443433
ChainSourceKind::Esplora(esplora_chain_source) => {

0 commit comments

Comments
 (0)