aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-07-17 17:43:13 +0800
committerGitHub <noreply@github.com>2017-07-17 17:43:13 +0800
commitc65f10a17bb325149c566d5851139eaba6d2d58e (patch)
tree6023762fe77d71b379dde60aeebaabe1b7321615 /core
parenta56f3dc0d94417e5d88bbb32b124b0889dfcbd6a (diff)
parent8c313eed2614990089114bfe5fea7540f4298752 (diff)
downloadgo-tangerine-c65f10a17bb325149c566d5851139eaba6d2d58e.tar
go-tangerine-c65f10a17bb325149c566d5851139eaba6d2d58e.tar.gz
go-tangerine-c65f10a17bb325149c566d5851139eaba6d2d58e.tar.bz2
go-tangerine-c65f10a17bb325149c566d5851139eaba6d2d58e.tar.lz
go-tangerine-c65f10a17bb325149c566d5851139eaba6d2d58e.tar.xz
go-tangerine-c65f10a17bb325149c566d5851139eaba6d2d58e.tar.zst
go-tangerine-c65f10a17bb325149c566d5851139eaba6d2d58e.zip
Merge pull request #14733 from karalabe/metro-eip100
consensus/ethash, core: implement Metropolis EIP 100
Diffstat (limited to 'core')
-rw-r--r--core/chain_makers.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/chain_makers.go b/core/chain_makers.go
index 38a69d42a..976a8114d 100644
--- a/core/chain_makers.go
+++ b/core/chain_makers.go
@@ -218,6 +218,7 @@ func makeHeader(config *params.ChainConfig, parent *types.Block, state *state.St
Number: parent.Number(),
Time: new(big.Int).Sub(time, big.NewInt(10)),
Difficulty: parent.Difficulty(),
+ UncleHash: parent.UncleHash(),
}),
GasLimit: CalcGasLimit(parent),
GasUsed: new(big.Int),