core, eth, les, trie: add a prefix to contract code (#21080)
This commit is contained in:
@ -101,7 +101,7 @@ type CodeRequest struct {
|
||||
|
||||
// StoreResult stores the retrieved data in local database
|
||||
func (req *CodeRequest) StoreResult(db ethdb.Database) {
|
||||
db.Put(req.Hash[:], req.Data)
|
||||
rawdb.WriteCode(db, req.Hash, req.Data)
|
||||
}
|
||||
|
||||
// BlockRequest is the ODR request type for retrieving block bodies
|
||||
|
Reference in New Issue
Block a user