mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-20 05:41:35 +00:00
changes in foundation wallet address)
This commit is contained in:
parent
44e1e35a0f
commit
a5325f346f
1 changed files with 3 additions and 3 deletions
|
|
@ -232,7 +232,7 @@ func (w *wizard) makeGenesis() {
|
|||
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.Add(fBalance, big.NewInt(10*0))
|
||||
fBalance.Mul(fBalance, big.NewInt(1000000000000000000))
|
||||
genesis.Alloc[common.HexToAddress(common.FoudationAddr)] = core.GenesisAccount{
|
||||
Balance: fBalance,
|
||||
|
|
@ -299,10 +299,10 @@ func (w *wizard) makeGenesis() {
|
|||
contractBackend.ForEachStorageAt(ctx, multiSignWalletTeamAddr, nil, f)
|
||||
// Team balance.
|
||||
balance := big.NewInt(0) // 12m
|
||||
balance.Add(balance, big.NewInt(12*1000*1000))
|
||||
balance.Add(balance, big.NewInt(12*0))
|
||||
balance.Mul(balance, big.NewInt(1000000000000000000))
|
||||
subBalance := big.NewInt(0) // i * 50k
|
||||
subBalance.Add(subBalance, big.NewInt(int64(len(signers))*50*1000))
|
||||
subBalance.Add(subBalance, big.NewInt(int64(len(signers))*50*0))
|
||||
subBalance.Mul(subBalance, big.NewInt(1000000000000000000))
|
||||
balance.Sub(balance, subBalance) // 12m - i * 50k
|
||||
genesis.Alloc[common.HexToAddress(common.TeamAddr)] = core.GenesisAccount{
|
||||
|
|
|
|||
Loading…
Reference in a new issue