This commit is contained in:
chenyufeng 2018-09-15 08:12:22 +00:00 committed by GitHub
commit bada1fe2eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 7 deletions

View file

@ -114,10 +114,6 @@ func (w *wizard) makeGenesis() {
}
break
}
// Add a batch of precompile balances to avoid them getting deleted
for i := int64(0); i < 256; i++ {
genesis.Alloc[common.BigToAddress(big.NewInt(i))] = core.GenesisAccount{Balance: big.NewInt(1)}
}
// Query the user for some custom extras
fmt.Println()
fmt.Println("Specify your chain/network ID if you want an explicit one (default = random)")

View file

@ -23,9 +23,7 @@ import (
"github.com/ethereum/go-ethereum/common"
)
/*
* This is a test memory database. Do not use for any production it does not get persisted
*/
// This is a test memory database. Do not use for any production, it does not get persisted.
type MemDatabase struct {
db map[string][]byte
lock sync.RWMutex