diff options
author | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-04-28 01:32:45 +0800 |
---|---|---|
committer | Gustav Simonsson <gustav.simonsson@gmail.com> | 2015-04-28 02:30:26 +0800 |
commit | 34c94d5fcdf31d4b4603e945b4b3e119fdd25f46 (patch) | |
tree | 77d50d5bc7a6bbeb4e3dca0c5c05a5cd4d11b6e4 /tests/block_test.go | |
parent | 2a61611c4fe2db9ef4466e11712c9ffd73636c15 (diff) | |
download | go-tangerine-34c94d5fcdf31d4b4603e945b4b3e119fdd25f46.tar.gz go-tangerine-34c94d5fcdf31d4b4603e945b4b3e119fdd25f46.tar.zst go-tangerine-34c94d5fcdf31d4b4603e945b4b3e119fdd25f46.zip |
Add loading of block test privkey if present
Diffstat (limited to 'tests/block_test.go')
-rw-r--r-- | tests/block_test.go | 2 |
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) } |