aboutsummaryrefslogtreecommitdiffstats
path: root/core/genesis.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-08-25 21:49:36 +0800
committerGustav Simonsson <gustav.simonsson@gmail.com>2015-08-25 21:54:57 +0800
commitfd512fa12c59657d9e47cc3411e6e24bd1af89cb (patch)
tree16ddada3b6ecbf26e53bb9eaf0c8b03812f7cab8 /core/genesis.go
parentdc3fb69dce674069479313837a5612045303c418 (diff)
downloadgo-tangerine-fd512fa12c59657d9e47cc3411e6e24bd1af89cb.tar
go-tangerine-fd512fa12c59657d9e47cc3411e6e24bd1af89cb.tar.gz
go-tangerine-fd512fa12c59657d9e47cc3411e6e24bd1af89cb.tar.bz2
go-tangerine-fd512fa12c59657d9e47cc3411e6e24bd1af89cb.tar.lz
go-tangerine-fd512fa12c59657d9e47cc3411e6e24bd1af89cb.tar.xz
go-tangerine-fd512fa12c59657d9e47cc3411e6e24bd1af89cb.tar.zst
go-tangerine-fd512fa12c59657d9e47cc3411e6e24bd1af89cb.zip
Merge pull request #1711 from Gustav-Simonsson/timestamp_big_intv1.1.0
Add tests for uncle timestamps and refactor timestamp type (cherry picked from commit abce09954b6901b446c004ee06b389c338922f28)
Diffstat (limited to 'core/genesis.go')
-rw-r--r--core/genesis.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/genesis.go b/core/genesis.go
index 97afb3a4a..7d4e03c99 100644
--- a/core/genesis.go
+++ b/core/genesis.go
@@ -73,7 +73,7 @@ func WriteGenesisBlock(chainDb common.Database, reader io.Reader) (*types.Block,
difficulty := common.String2Big(genesis.Difficulty)
block := types.NewBlock(&types.Header{
Nonce: types.EncodeNonce(common.String2Big(genesis.Nonce).Uint64()),
- Time: common.String2Big(genesis.Timestamp).Uint64(),
+ Time: common.String2Big(genesis.Timestamp),
ParentHash: common.HexToHash(genesis.ParentHash),
Extra: common.FromHex(genesis.ExtraData),
GasLimit: common.String2Big(genesis.GasLimit),