aboutsummaryrefslogtreecommitdiffstats
path: root/core/blockchain_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/blockchain_test.go')
-rw-r--r--core/blockchain_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/blockchain_test.go b/core/blockchain_test.go
index 934ae74e1..2d4e2b6b2 100644
--- a/core/blockchain_test.go
+++ b/core/blockchain_test.go
@@ -143,12 +143,12 @@ func testBlockChainImport(chain types.Blocks, blockchain *BlockChain) error {
}
receipts, _, usedGas, err := blockchain.Processor().Process(block, statedb, vm.Config{})
if err != nil {
- reportBlock(block, err)
+ blockchain.reportBlock(block, receipts, err)
return err
}
err = blockchain.Validator().ValidateState(block, blockchain.GetBlockByHash(block.ParentHash()), statedb, receipts, usedGas)
if err != nil {
- reportBlock(block, err)
+ blockchain.reportBlock(block, receipts, err)
return err
}
blockchain.mu.Lock()