From adec878c1d2d8b46f43d592856b2b5915f5a65fb Mon Sep 17 00:00:00 2001 From: ucwong Date: Tue, 14 Dec 2021 18:11:05 +0800 Subject: [PATCH] core/rawdb: fix error message fields in ReadLogs (#24104) --- core/rawdb/accessors_chain.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/rawdb/accessors_chain.go b/core/rawdb/accessors_chain.go index 7f46f9d72..891349d5f 100644 --- a/core/rawdb/accessors_chain.go +++ b/core/rawdb/accessors_chain.go @@ -714,7 +714,7 @@ func ReadLogs(db ethdb.Reader, hash common.Hash, number uint64, config *params.C if logs := readLegacyLogs(db, hash, number, config); logs != nil { return logs } - log.Error("Invalid receipt array RLP", "hash", "err", err) + log.Error("Invalid receipt array RLP", "hash", hash, "err", err) return nil }