core/rawdb: fix typo (#24289)

This commit is contained in:
Marius van der Wijden 2022-01-25 11:36:51 +01:00 committed by GitHub
parent 78f13a3a57
commit 29cb5deea3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,7 +47,7 @@ func ReadCode(db ethdb.KeyValueReader, hash common.Hash) []byte {
if len(data) != 0 { if len(data) != 0 {
return data return data
} }
data, _ := db.Get(hash[:]) data, _ = db.Get(hash[:])
return data return data
} }