Update fix

This commit is contained in:
Admin 2018-04-25 16:26:36 +07:00
parent 7a44b4f0a8
commit d43f633690
3 changed files with 5 additions and 5 deletions

View file

@ -312,7 +312,7 @@ func GenesisBlockForTesting(db ethdb.Database, addr common.Address, balance *big
func DefaultGenesisBlock() *Genesis {
return &Genesis{
Config: params.MainnetChainConfig,
Nonce: 0xC261220,
Nonce: 66,
GasLimit: 5000,
Difficulty: big.NewInt(17179869184),
Alloc: decodePrealloc(mainnetAllocData),

View file

@ -7,13 +7,13 @@
"eip155Block": 0,
"eip158Block": 0
},
"nonce": "0x000000000c261220",
"nonce": "66",
"difficulty": "17179869184",
"mixhash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"coinbase": "0x0000000000000000000000000000000000000000",
"timestamp": "0x00",
"parentHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"extraData": "0x",
"extraData": "0x",
"gasLimit": "5000",
"alloc": {
"06219483E217c9aD479f76a95426f689eF4D5951": {

View file

@ -31,10 +31,10 @@ var (
var (
// MainnetChainConfig is the chain parameters to run a node on the main network.
MainnetChainConfig = &ChainConfig{
ChainId: big.NewInt(1),
ChainId: big.NewInt(24122000),
HomesteadBlock: big.NewInt(0),
DAOForkBlock: nil,
DAOForkSupport: false,
DAOForkSupport: true,
EIP150Block: big.NewInt(0),
EIP150Hash: common.HexToHash("0x3f9c0f661c8b2aab93eafda1c97daed0d418c87cd300292ebcc1f7e03df0d8f3"),
EIP155Block: big.NewInt(0),