1
0
Fork 0
forked from forks/go-ethereum
go-ethereum-modded-tocallarg/ethdb/leveldb
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
..
leveldb.go ethdb: no need to check the metric nilness (#31353) 2025-03-11 22:30:02 +01:00
leveldb_test.go ethdb: add benchmark test suite (#26659) 2023-02-10 04:35:00 -05:00