diff options
author | Péter Szilágyi <peterke@gmail.com> | 2019-03-25 18:41:50 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2019-04-01 16:06:15 +0800 |
commit | bb9631c399392577b1d69a1e8f88a2ccbd05e4e1 (patch) | |
tree | 3215ff8befded0c4ab10920ffc2c7b4f26a955af /core/blockchain_test.go | |
parent | 86e77900c53ebce3309099a39cbca38eb4d62fdf (diff) | |
download | go-tangerine-bb9631c399392577b1d69a1e8f88a2ccbd05e4e1.tar go-tangerine-bb9631c399392577b1d69a1e8f88a2ccbd05e4e1.tar.gz go-tangerine-bb9631c399392577b1d69a1e8f88a2ccbd05e4e1.tar.bz2 go-tangerine-bb9631c399392577b1d69a1e8f88a2ccbd05e4e1.tar.lz go-tangerine-bb9631c399392577b1d69a1e8f88a2ccbd05e4e1.tar.xz go-tangerine-bb9631c399392577b1d69a1e8f88a2ccbd05e4e1.tar.zst go-tangerine-bb9631c399392577b1d69a1e8f88a2ccbd05e4e1.zip |
core: prefetch next block state concurrently
Diffstat (limited to 'core/blockchain_test.go')
-rw-r--r-- | core/blockchain_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/blockchain_test.go b/core/blockchain_test.go index d1681ce3b..c8cae969c 100644 --- a/core/blockchain_test.go +++ b/core/blockchain_test.go @@ -144,7 +144,7 @@ func testBlockChainImport(chain types.Blocks, blockchain *BlockChain) error { if err != nil { return err } - receipts, _, usedGas, err := blockchain.Processor().Process(block, statedb, vm.Config{}) + receipts, _, usedGas, err := blockchain.processor.Process(block, statedb, vm.Config{}) if err != nil { blockchain.reportBlock(block, receipts, err) return err |