1
0
Fork 0
forked from forks/go-ethereum
go-ethereum-modded-tocallarg/ethdb/pebble
Delweng ca530362ca
ethdb: no need to check the metric nilness (#31353)
The metric always has a value, no need to check for the nil. 

Seems this code was first introduced here
054412e335/metrics/meter.go (L45-L48)

As the `nilMeter` was removed, so this check seems is useless.

Signed-off-by: jsvisa <delweng@gmail.com>
2025-03-11 22:30:02 +01:00
..
pebble.go ethdb: no need to check the metric nilness (#31353) 2025-03-11 22:30:02 +01:00
pebble_test.go all: update license comments and AUTHORS (#31133) 2025-02-05 23:01:17 +01:00