mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-22 03:30:35 +00:00
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