mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 14:16:44 +00:00
testcase
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
parent
b6763c9864
commit
44cfd2c91e
1 changed files with 4 additions and 0 deletions
|
|
@ -86,6 +86,10 @@ func (db *testDb) InsertPreimage(preimages map[common.Hash][]byte) {
|
|||
rawdb.WritePreimages(db.disk, preimages)
|
||||
}
|
||||
|
||||
func (db *testDb) PreimageEnabled() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
func (db *testDb) Scheme() string { return db.scheme }
|
||||
|
||||
func (db *testDb) Update(root common.Hash, parent common.Hash, nodes *trienode.MergedNodeSet) error {
|
||||
|
|
|
|||
Loading…
Reference in a new issue