Skip to content

Commit 9bb2a4b

Browse files
committed
Apply clippy feedback
1 parent 121d853 commit 9bb2a4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/snapshot_bootstrapper/src/snapshot_bootstrapper.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ impl UtxoCallback for SnapshotHandler {
133133
self.utxo_count += 1;
134134

135135
// Log progress every million UTXOs
136-
if self.utxo_count % 1_000_000 == 0 {
136+
if self.utxo_count.is_multiple_of(1_000_000) {
137137
info!("Processed {} UTXOs", self.utxo_count);
138138
}
139139
// TODO: Accumulate UTXO data if needed or send in chunks to UTXOState processor

0 commit comments

Comments
 (0)