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 |
||
---|---|---|
.. | ||
frontend.go | ||
state.go | ||
types.go | ||
whisper.go | ||
whisper_filter.go | ||
whisper_message.go | ||
xeth.go | ||
xeth_test.go |