From f915d97084a88d94546f7573c0e8003bc1d5c86f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Andr=C3=B3il?= Date: Mon, 10 Feb 2025 15:47:17 +0100 Subject: [PATCH] fix disklayer.go --- triedb/pathdb/disklayer.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/triedb/pathdb/disklayer.go b/triedb/pathdb/disklayer.go index 184f6430a2..9f67a27414 100644 --- a/triedb/pathdb/disklayer.go +++ b/triedb/pathdb/disklayer.go @@ -163,7 +163,7 @@ func (dl *diskLayer) account(hash common.Hash, depth int) ([]byte, error) { dirtyStateHitDepthHist.Update(int64(depth)) if len(blob) == 0 { - stateAccountInexMeter.Mark(1) + stateAccountIndexMeter.Mark(1) } else { stateAccountExistMeter.Mark(1) } @@ -198,7 +198,7 @@ func (dl *diskLayer) storage(accountHash, storageHash common.Hash, depth int) ([ dirtyStateHitDepthHist.Update(int64(depth)) if len(blob) == 0 { - stateStorageInexMeter.Mark(1) + stateStorageIndexMeter.Mark(1) } else { stateStorageExistMeter.Mark(1) }