Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
trie: Fix concurrent map access on trie.dirties
The dirties map of trie.Database was not read protected inside the commit function, since the trie.Database is called from many go-routines this sometimes lead to concurrent map read and write errors. The solution is to read lock over trie.dirties in commit
- Loading branch information