forked from cerc-io/plugeth
core/rawdb: fix typo (#24289)
This commit is contained in:
parent
78f13a3a57
commit
29cb5deea3
@ -47,7 +47,7 @@ func ReadCode(db ethdb.KeyValueReader, hash common.Hash) []byte {
|
||||
if len(data) != 0 {
|
||||
return data
|
||||
}
|
||||
data, _ := db.Get(hash[:])
|
||||
data, _ = db.Get(hash[:])
|
||||
return data
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user