mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-25 04:57:17 +00:00
ae1b5b3ff2
XEth.gpo was being initialized as needed. WithState copies the XEth struct including the gpo field. If gpo was nil at the time of the copy and Call or Transact were invoked on it, an additional GPO listenLoop would be spawned. Move the lazy initialization to GasPriceOracle instead so the same GPO instance is shared among all created XEths. Fixes #1317 Might help with #1930 |
||
---|---|---|
.. | ||
downloader | ||
fetcher | ||
filters | ||
backend_test.go | ||
backend.go | ||
cpu_mining.go | ||
gasprice.go | ||
gpu_mining.go | ||
handler_test.go | ||
handler.go | ||
helper_test.go | ||
metrics.go | ||
peer.go | ||
protocol_test.go | ||
protocol.go | ||
sync_test.go | ||
sync.go |