Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid concurrent use of statedb (#252)
The call to get exchange rates was sharing a statedb instance between many goroutines. Now we make the call once up front and share the exchange rates between goroutines, this is ok since we use the same set of exchange rates for the entire block. Co-authored-by: Piers Powlesland <[email protected]>
- Loading branch information