Skip to content

Commit 351c4e6

Browse files
format
1 parent fb76728 commit 351c4e6

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

src/chain/mod.rs

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,9 @@ impl ChainSource {
207207
match self {
208208
Self::Esplora { sync_config, logger, .. } => {
209209
// Setup syncing intervals
210-
let mut onchain_wallet_sync_interval = match sync_config.onchain_wallet_sync_interval_secs() {
210+
let mut onchain_wallet_sync_interval = match sync_config
211+
.onchain_wallet_sync_interval_secs()
212+
{
211213
Some(secs) => {
212214
log_info!(
213215
logger,
@@ -224,10 +226,12 @@ impl ChainSource {
224226
"Onchain wallet background syncing disabled. Manual syncing required.",
225227
);
226228
None
227-
}
229+
},
228230
};
229231

230-
let mut fee_rate_update_interval = match sync_config.fee_rate_cache_update_interval_secs() {
232+
let mut fee_rate_update_interval = match sync_config
233+
.fee_rate_cache_update_interval_secs()
234+
{
231235
Some(secs) => {
232236
log_info!(
233237
logger,
@@ -246,10 +250,12 @@ impl ChainSource {
246250
"Fee rate cache background updating disabled. Manual updates required.",
247251
);
248252
None
249-
}
253+
},
250254
};
251255

252-
let mut lightning_wallet_sync_interval = match sync_config.lightning_wallet_sync_interval_secs() {
256+
let mut lightning_wallet_sync_interval = match sync_config
257+
.lightning_wallet_sync_interval_secs()
258+
{
253259
Some(secs) => {
254260
log_info!(
255261
logger,
@@ -266,7 +272,7 @@ impl ChainSource {
266272
"Lightning wallet background syncing disabled. Manual syncing required.",
267273
);
268274
None
269-
}
275+
},
270276
};
271277

272278
// Start the syncing loop.

0 commit comments

Comments
 (0)