mirror of https://github.com/status-im/op-geth.git
d8fe64acaa
This fixes an issue with the lru cache not being available when calling WriteBlock. WriteBlock previously always assumed to be called from the InsertChain where the lru cache was always created prior to calling WriteBlock. When being called from the worker this could lead in to a nil pointer exception being thrown and causing database corruption. |
||
---|---|---|
.. | ||
agent.go | ||
miner.go | ||
remote_agent.go | ||
worker.go |