aboutsummaryrefslogtreecommitdiffstats
path: root/tests/block_test.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-04-28 05:48:49 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-04-28 05:48:49 +0800
commitf54c2e75c8b3ba3464605ce3febd64645b28dd28 (patch)
tree77d50d5bc7a6bbeb4e3dca0c5c05a5cd4d11b6e4 /tests/block_test.go
parentaa4c25778f971c95effc09858c6bc5e746300120 (diff)
parent34c94d5fcdf31d4b4603e945b4b3e119fdd25f46 (diff)
downloadgo-tangerine-f54c2e75c8b3ba3464605ce3febd64645b28dd28.tar
go-tangerine-f54c2e75c8b3ba3464605ce3febd64645b28dd28.tar.gz
go-tangerine-f54c2e75c8b3ba3464605ce3febd64645b28dd28.tar.bz2
go-tangerine-f54c2e75c8b3ba3464605ce3febd64645b28dd28.tar.lz
go-tangerine-f54c2e75c8b3ba3464605ce3febd64645b28dd28.tar.xz
go-tangerine-f54c2e75c8b3ba3464605ce3febd64645b28dd28.tar.zst
go-tangerine-f54c2e75c8b3ba3464605ce3febd64645b28dd28.zip
Merge pull request #818 from Gustav-Simonsson/add_privkey_loading_to_block_tests
Add privkey loading to block tests
Diffstat (limited to 'tests/block_test.go')
-rw-r--r--tests/block_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/block_test.go b/tests/block_test.go
index 9343a3de9..a46751f00 100644
--- a/tests/block_test.go
+++ b/tests/block_test.go
@@ -87,7 +87,7 @@ func runBlockTest(name string, test *BlockTest, t *testing.T) {
ethereum.ResetWithGenesisBlock(test.Genesis)
// import pre accounts
- statedb, err := test.InsertPreState(ethereum.StateDb())
+ statedb, err := test.InsertPreState(ethereum)
if err != nil {
t.Fatalf("InsertPreState: %v", err)
}