diff options
author | Jeffrey Wilcke <geffobscura@gmail.com> | 2016-03-31 23:43:41 +0800 |
---|---|---|
committer | Jeffrey Wilcke <geffobscura@gmail.com> | 2016-04-01 07:01:10 +0800 |
commit | 9055c16efad80d0c69992e7992083f967733aa9c (patch) | |
tree | 41de92819a7aa8182779e964cec75c0e54d8801f /core/chain_makers_test.go | |
parent | f0cbebb19f3137ee3ba0e66dadd1b5b9dbf98b1c (diff) | |
download | go-tangerine-9055c16efad80d0c69992e7992083f967733aa9c.tar go-tangerine-9055c16efad80d0c69992e7992083f967733aa9c.tar.gz go-tangerine-9055c16efad80d0c69992e7992083f967733aa9c.tar.bz2 go-tangerine-9055c16efad80d0c69992e7992083f967733aa9c.tar.lz go-tangerine-9055c16efad80d0c69992e7992083f967733aa9c.tar.xz go-tangerine-9055c16efad80d0c69992e7992083f967733aa9c.tar.zst go-tangerine-9055c16efad80d0c69992e7992083f967733aa9c.zip |
accounts/a/b/backends, core: chain maker homestead block set to 0
The chain maker and the simulated backend now run with a homestead phase
beginning at block 0 (i.e. there's no frontier).
This commit also fixes up #2388
Diffstat (limited to 'core/chain_makers_test.go')
-rw-r--r-- | core/chain_makers_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/chain_makers_test.go b/core/chain_makers_test.go index 86949246b..32c3efe8d 100644 --- a/core/chain_makers_test.go +++ b/core/chain_makers_test.go @@ -77,7 +77,7 @@ func ExampleGenerateChain() { // Import the chain. This runs all block validation rules. evmux := &event.TypeMux{} - blockchain, _ := NewBlockChain(db, MakeChainConfig(true), FakePow{}, evmux) + blockchain, _ := NewBlockChain(db, MakeChainConfig(), FakePow{}, evmux) if i, err := blockchain.InsertChain(chain); err != nil { fmt.Printf("insert error (block %d): %v\n", i, err) return |