diff options
author | obscuren <geffobscura@gmail.com> | 2015-03-04 04:04:31 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-03-04 04:04:31 +0800 |
commit | 26de12d9bf23bce7de26b3b6629601ec2e58ad5b (patch) | |
tree | 0d4b76fcb717049d988b7f283967f43dc5517a5e /core/genesis.go | |
parent | e9f1e868e2bc0205d0b7655cd07fcaba9b2bc97d (diff) | |
download | go-tangerine-26de12d9bf23bce7de26b3b6629601ec2e58ad5b.tar.gz go-tangerine-26de12d9bf23bce7de26b3b6629601ec2e58ad5b.tar.zst go-tangerine-26de12d9bf23bce7de26b3b6629601ec2e58ad5b.zip |
Changed nonce to a uint64
Diffstat (limited to 'core/genesis.go')
-rw-r--r-- | core/genesis.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/genesis.go b/core/genesis.go index decffc541..3e90aa91d 100644 --- a/core/genesis.go +++ b/core/genesis.go @@ -23,7 +23,7 @@ var EmptyShaList = crypto.Sha3(ethutil.Encode([]interface{}{})) var EmptyListRoot = crypto.Sha3(ethutil.Encode("")) func GenesisBlock(db ethutil.Database) *types.Block { - genesis := types.NewBlock(ZeroHash256, ZeroHash160, nil, big.NewInt(131072), crypto.Sha3(big.NewInt(42).Bytes()), "") + genesis := types.NewBlock(ZeroHash256, ZeroHash160, nil, big.NewInt(131072), 42, "") genesis.Header().Number = ethutil.Big0 genesis.Header().GasLimit = big.NewInt(1000000) genesis.Header().GasUsed = ethutil.Big0 |