core/rawdb: fix error message fields in ReadLogs (#24104)

This commit is contained in:
ucwong 2021-12-14 18:11:05 +08:00 committed by GitHub
parent b3b8b268eb
commit adec878c1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}