core/state: avoid linear overhead on journal dirty listing
This commit is contained in:
@ -141,9 +141,9 @@ func (c *stateObject) touch() {
|
||||
account: &c.address,
|
||||
})
|
||||
if c.address == ripemd {
|
||||
//Explicitly put it in the dirty-cache, which is otherwise
|
||||
// generated from flattened journals
|
||||
c.db.journal.dirtyOverride(c.address)
|
||||
// Explicitly put it in the dirty-cache, which is otherwise generated from
|
||||
// flattened journals.
|
||||
c.db.journal.dirty(c.address)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user