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