From 2b21303fc0d4d6818e1f76b6230d30f8f9b1a863 Mon Sep 17 00:00:00 2001 From: parmarrushabh Date: Wed, 14 Nov 2018 18:11:03 +0530 Subject: [PATCH] Fixed foundation balance to 16m. --- cmd/puppeth/wizard_genesis.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cmd/puppeth/wizard_genesis.go b/cmd/puppeth/wizard_genesis.go index dfd7f15c4e..7faacd70c3 100644 --- a/cmd/puppeth/wizard_genesis.go +++ b/cmd/puppeth/wizard_genesis.go @@ -231,8 +231,11 @@ func (w *wizard) makeGenesis() { code, _ = contractBackend.CodeAt(ctx, multiSignWalletAddr, nil) storage = make(map[common.Hash]common.Hash) contractBackend.ForEachStorageAt(ctx, multiSignWalletAddr, nil, f) + fBalance := big.NewInt(0) // 16m + fBalance.Add(fBalance, big.NewInt(16*1000*1000)) + fBalance.Mul(fBalance, big.NewInt(1000000000000000000)) genesis.Alloc[common.HexToAddress(common.FoudationAddr)] = core.GenesisAccount{ - Balance: big.NewInt(0), + Balance: fBalance, Code: code, Storage: storage, }