Skip to content

Commit 7429998

Browse files
ARR4Nqdm12
andauthored
Apply suggestions from code review
Co-authored-by: Quentin McGaw <[email protected]> Signed-off-by: Arran Schlosberg <[email protected]>
1 parent ffd8d88 commit 7429998

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/rawdb/database.libevm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func newInspectOpt(fn func(*inspectDatabaseConfig)) InspectDatabaseOption {
6161
// for every `key` not otherwise matched by the [InspectDatabase] iterator loop.
6262
// The returned boolean signals whether the recorder matches the key, thus
6363
// stopping further matches.
64-
func WithDatabaseStatRecorder(rec func(key []byte, _ common.StorageSize) bool) InspectDatabaseOption {
64+
func WithDatabaseStatRecorder(rec func(key []byte, size common.StorageSize) bool) InspectDatabaseOption {
6565
return newInspectOpt(func(c *inspectDatabaseConfig) {
6666
c.statRecorder = rec
6767
})

0 commit comments

Comments
 (0)