diff options
author | ferhat elmas <elmas.ferhat@gmail.com> | 2017-11-08 18:45:52 +0800 |
---|---|---|
committer | Felix Lange <fjl@users.noreply.github.com> | 2017-11-08 18:45:52 +0800 |
commit | 9619a610248e9630968ba1d9be8e214b645c9c55 (patch) | |
tree | 5844cfbee9a0ac5750dcc803cea461f75969f74e /core/genesis.go | |
parent | bfdc0fa3622d7c3b421d2f5a6dda5746be41bfde (diff) | |
download | go-tangerine-9619a610248e9630968ba1d9be8e214b645c9c55.tar go-tangerine-9619a610248e9630968ba1d9be8e214b645c9c55.tar.gz go-tangerine-9619a610248e9630968ba1d9be8e214b645c9c55.tar.bz2 go-tangerine-9619a610248e9630968ba1d9be8e214b645c9c55.tar.lz go-tangerine-9619a610248e9630968ba1d9be8e214b645c9c55.tar.xz go-tangerine-9619a610248e9630968ba1d9be8e214b645c9c55.tar.zst go-tangerine-9619a610248e9630968ba1d9be8e214b645c9c55.zip |
all: gofmt -w -s (#15419)
Diffstat (limited to 'core/genesis.go')
-rw-r--r-- | core/genesis.go | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/core/genesis.go b/core/genesis.go index 26b1c9f63..df491ce0f 100644 --- a/core/genesis.go +++ b/core/genesis.go @@ -356,15 +356,15 @@ func DeveloperGenesisBlock(period uint64, faucet common.Address) *Genesis { GasLimit: 6283185, Difficulty: big.NewInt(1), Alloc: map[common.Address]GenesisAccount{ - common.BytesToAddress([]byte{1}): GenesisAccount{Balance: big.NewInt(1)}, // ECRecover - common.BytesToAddress([]byte{2}): GenesisAccount{Balance: big.NewInt(1)}, // SHA256 - common.BytesToAddress([]byte{3}): GenesisAccount{Balance: big.NewInt(1)}, // RIPEMD - common.BytesToAddress([]byte{4}): GenesisAccount{Balance: big.NewInt(1)}, // Identity - common.BytesToAddress([]byte{5}): GenesisAccount{Balance: big.NewInt(1)}, // ModExp - common.BytesToAddress([]byte{6}): GenesisAccount{Balance: big.NewInt(1)}, // ECAdd - common.BytesToAddress([]byte{7}): GenesisAccount{Balance: big.NewInt(1)}, // ECScalarMul - common.BytesToAddress([]byte{8}): GenesisAccount{Balance: big.NewInt(1)}, // ECPairing - faucet: GenesisAccount{Balance: new(big.Int).Sub(new(big.Int).Lsh(big.NewInt(1), 256), big.NewInt(9))}, + common.BytesToAddress([]byte{1}): {Balance: big.NewInt(1)}, // ECRecover + common.BytesToAddress([]byte{2}): {Balance: big.NewInt(1)}, // SHA256 + common.BytesToAddress([]byte{3}): {Balance: big.NewInt(1)}, // RIPEMD + common.BytesToAddress([]byte{4}): {Balance: big.NewInt(1)}, // Identity + common.BytesToAddress([]byte{5}): {Balance: big.NewInt(1)}, // ModExp + common.BytesToAddress([]byte{6}): {Balance: big.NewInt(1)}, // ECAdd + common.BytesToAddress([]byte{7}): {Balance: big.NewInt(1)}, // ECScalarMul + common.BytesToAddress([]byte{8}): {Balance: big.NewInt(1)}, // ECPairing + faucet: {Balance: new(big.Int).Sub(new(big.Int).Lsh(big.NewInt(1), 256), big.NewInt(9))}, }, } } |