diff options
author | Wei-Ning Huang <w@cobinhood.com> | 2018-10-18 21:22:45 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2018-12-19 20:54:27 +0800 |
commit | ab787f1ea7365b2befe6cd1bc9135637c32ec453 (patch) | |
tree | 46a169a06932e86c7da6efe53c51215ce6d994d1 /core | |
parent | 61bd9d4acef98adedc72543b40be8468d167f6c7 (diff) | |
download | dexon-ab787f1ea7365b2befe6cd1bc9135637c32ec453.tar dexon-ab787f1ea7365b2befe6cd1bc9135637c32ec453.tar.gz dexon-ab787f1ea7365b2befe6cd1bc9135637c32ec453.tar.bz2 dexon-ab787f1ea7365b2befe6cd1bc9135637c32ec453.tar.lz dexon-ab787f1ea7365b2befe6cd1bc9135637c32ec453.tar.xz dexon-ab787f1ea7365b2befe6cd1bc9135637c32ec453.tar.zst dexon-ab787f1ea7365b2befe6cd1bc9135637c32ec453.zip |
params: load blockReward from genesis JSON file
Diffstat (limited to 'core')
-rw-r--r-- | core/genesis.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/genesis.go b/core/genesis.go index 13ba2fcc0..c8bd05bf1 100644 --- a/core/genesis.go +++ b/core/genesis.go @@ -255,6 +255,7 @@ func (g *Genesis) ToBlock(db ethdb.Database) *types.Block { govStateHelper := vm.GovernanceStateHelper{statedb} for addr, account := range g.Alloc { + fmt.Println(account) statedb.AddBalance(addr, new(big.Int).Sub(account.Balance, account.Staked)) statedb.SetCode(addr, account.Code) statedb.SetNonce(addr, account.Nonce) |