Skip to content

Commit 103f890

Browse files
committed
summary -> result
1 parent 426bcc6 commit 103f890

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

dash-spv/src/sync/masternodes/sync_manager.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,8 @@ impl<H: BlockHeaderStorage> SyncManager for MasternodesManager<H> {
235235
tracing::info!("Fed {} block heights to engine", fed);
236236

237237
// Feed QRInfo to engine first to populate masternode lists
238-
let summary = match engine.feed_qr_info(qr_info.clone(), true, true) {
239-
Ok(summary) => summary,
238+
let result = match engine.feed_qr_info(qr_info.clone(), true, true) {
239+
Ok(result) => result,
240240
Err(e) => {
241241
// Check if this is a tip ChainLock error (h - 0 means the tip block)
242242
// The QRInfo response always includes `mn_list_diff_tip` which is the
@@ -301,12 +301,12 @@ impl<H: BlockHeaderStorage> SyncManager for MasternodesManager<H> {
301301
drop(engine);
302302
drop(storage);
303303

304-
if let Some(summary) = summary {
304+
if let Some(result) = result {
305305
tracing::info!(
306306
"QRInfo processed: stored_cycle_height={:?}, rotated_quorum_count={}, freshly_validated_count={}",
307-
summary.stored_cycle_height,
308-
summary.rotated_quorum_count,
309-
summary.freshly_validated_count,
307+
result.stored_cycle_height,
308+
result.rotated_quorum_count,
309+
result.freshly_validated_count,
310310
);
311311
}
312312

0 commit comments

Comments
 (0)