Skip to content

Commit aaede53

Browse files
ucwongkaralabe
andauthored
core/rawdb : log format fix for Unindexing transaction (#21064)
* core/rawdb : log format fix for Unindexing transaction * core/rawdb: tiny fixup Co-authored-by: Péter Szilágyi <[email protected]>
1 parent 53cac02 commit aaede53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/rawdb/chain_iterator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ func UnindexTransactions(db ethdb.Database, from uint64, to uint64) {
293293
}
294294
// If we've spent too much time already, notify the user of what we're doing
295295
if time.Since(logged) > 8*time.Second {
296-
log.Info("Unindexing transactions", "blocks", "txs", txs, int64(math.Abs(float64(delivery.number-from))), "total", to-from, "elapsed", common.PrettyDuration(time.Since(start)))
296+
log.Info("Unindexing transactions", "blocks", blocks, "txs", txs, "total", to-from, "elapsed", common.PrettyDuration(time.Since(start)))
297297
logged = time.Now()
298298
}
299299
}

0 commit comments

Comments
 (0)