1
0
Fork 0
forked from forks/go-ethereum
go-ethereum-modded-tocallarg/ethdb
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
..
dbtest ethdb: add DeleteRange feature (#30668) 2024-10-25 17:33:46 +02:00
leveldb ethdb: no need to check the metric nilness (#31353) 2025-03-11 22:30:02 +01:00
memorydb ethdb/memorydb: faster DeleteRange (#31038) 2025-01-17 16:54:19 +01:00
pebble ethdb: no need to check the metric nilness (#31353) 2025-03-11 22:30:02 +01:00
remotedb ethdb: add DeleteRange feature (#30668) 2024-10-25 17:33:46 +02:00
batch.go core, ethdb, tests, trie: implement NewBatchWithSize API for batcher (#24392) 2022-02-15 15:15:13 +02:00
database.go ethdb: refactor Database interface (#30693) 2024-10-29 10:32:40 +02:00
iterator.go all: simplify and fix database iteration with prefix/start (#20808) 2020-04-15 14:08:53 +03:00