aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-02-20 18:54:23 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2017-02-20 18:54:23 +0800
commitb7f010de52d267bfd0b5e17f54afeb19b9d5c136 (patch)
tree4be44bd1ac1c21069b5f00c741fcc77c4d4cae96 /tests
parente51f65af1f440aa4b221568e4a546455b7fe0964 (diff)
downloadgo-tangerine-b7f010de52d267bfd0b5e17f54afeb19b9d5c136.tar.gz
go-tangerine-b7f010de52d267bfd0b5e17f54afeb19b9d5c136.tar.zst
go-tangerine-b7f010de52d267bfd0b5e17f54afeb19b9d5c136.zip
tests: cleanup tester blockchain after test run (#3692)
Diffstat (limited to 'tests')
-rw-r--r--tests/block_test_util.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/block_test_util.go b/tests/block_test_util.go
index 01539de03..695b47e0b 100644
--- a/tests/block_test_util.go
+++ b/tests/block_test_util.go
@@ -177,6 +177,7 @@ func runBlockTest(homesteadBlock, daoForkBlock, gasPriceFork *big.Int, test *Blo
if err != nil {
return err
}
+ defer chain.Stop()
//vm.Debug = true
validBlocks, err := test.TryBlocksInsert(chain)