We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffd8d88 commit 7429998Copy full SHA for 7429998
core/rawdb/database.libevm.go
@@ -61,7 +61,7 @@ func newInspectOpt(fn func(*inspectDatabaseConfig)) InspectDatabaseOption {
61
// for every `key` not otherwise matched by the [InspectDatabase] iterator loop.
62
// The returned boolean signals whether the recorder matches the key, thus
63
// stopping further matches.
64
-func WithDatabaseStatRecorder(rec func(key []byte, _ common.StorageSize) bool) InspectDatabaseOption {
+func WithDatabaseStatRecorder(rec func(key []byte, size common.StorageSize) bool) InspectDatabaseOption {
65
return newInspectOpt(func(c *inspectDatabaseConfig) {
66
c.statRecorder = rec
67
})
0 commit comments