all: clean up and proerly abstract database access
This commit is contained in:
@ -558,7 +558,7 @@ func (r *BloomRequest) Validate(db ethdb.Database, msg *Msg) error {
|
||||
// readTraceDB stores the keys of database reads. We use this to check that received node
|
||||
// sets contain only the trie nodes necessary to make proofs pass.
|
||||
type readTraceDB struct {
|
||||
db trie.DatabaseReader
|
||||
db ethdb.Reader
|
||||
reads map[string]struct{}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user