diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-08-24 17:26:06 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2017-08-24 22:16:39 +0800 |
commit | b872961ec82ec88a7ac6ef331cfb3eb685ce2c00 (patch) | |
tree | 652d5bc27e4f95809637e6f76f6db3162b2e435e /core/chain_makers.go | |
parent | 3c48a25762dfab9382791c33a2f5832466077ac3 (diff) | |
download | go-tangerine-b872961ec82ec88a7ac6ef331cfb3eb685ce2c00.tar go-tangerine-b872961ec82ec88a7ac6ef331cfb3eb685ce2c00.tar.gz go-tangerine-b872961ec82ec88a7ac6ef331cfb3eb685ce2c00.tar.bz2 go-tangerine-b872961ec82ec88a7ac6ef331cfb3eb685ce2c00.tar.lz go-tangerine-b872961ec82ec88a7ac6ef331cfb3eb685ce2c00.tar.xz go-tangerine-b872961ec82ec88a7ac6ef331cfb3eb685ce2c00.tar.zst go-tangerine-b872961ec82ec88a7ac6ef331cfb3eb685ce2c00.zip |
consensus, core, tests: implement Metropolis EIP 649
Diffstat (limited to 'core/chain_makers.go')
-rw-r--r-- | core/chain_makers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/chain_makers.go b/core/chain_makers.go index cb5825d18..dd3e2fb19 100644 --- a/core/chain_makers.go +++ b/core/chain_makers.go @@ -179,7 +179,7 @@ func GenerateChain(config *params.ChainConfig, parent *types.Block, db ethdb.Dat if gen != nil { gen(i, b) } - ethash.AccumulateRewards(statedb, h, b.uncles) + ethash.AccumulateRewards(config, statedb, h, b.uncles) root, err := statedb.CommitTo(db, config.IsEIP158(h.Number)) if err != nil { panic(fmt.Sprintf("state write error: %v", err)) |