diff options
author | obscuren <geffobscura@gmail.com> | 2015-04-06 00:57:03 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-04-06 00:59:18 +0800 |
commit | 9c55576c7b415954773c062d404a736741fb9794 (patch) | |
tree | 5c79551e6ad55d88c02fbe3374ebc9738b863f8d /core/genesis.go | |
parent | 3040296beb3a8ca991b738a83df0af7bddde2ac6 (diff) | |
download | dexon-9c55576c7b415954773c062d404a736741fb9794.tar.gz dexon-9c55576c7b415954773c062d404a736741fb9794.tar.zst dexon-9c55576c7b415954773c062d404a736741fb9794.zip |
Block header changed & console miner control
* miner control moved to `admin.miner`
* miner option to set extra data
* block extra now bytes
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 13656c40c..8ef1e140f 100644 --- a/core/genesis.go +++ b/core/genesis.go @@ -20,7 +20,7 @@ var ZeroHash160 = make([]byte, 20) var ZeroHash512 = make([]byte, 64) func GenesisBlock(db common.Database) *types.Block { - genesis := types.NewBlock(common.Hash{}, common.Address{}, common.Hash{}, params.GenesisDifficulty, 42, "") + genesis := types.NewBlock(common.Hash{}, common.Address{}, common.Hash{}, params.GenesisDifficulty, 42, nil) genesis.Header().Number = common.Big0 genesis.Header().GasLimit = params.GenesisGasLimit genesis.Header().GasUsed = common.Big0 |