diff options
author | Wei-Ning Huang <w@cobinhood.com> | 2018-10-18 21:22:45 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:50 +0800 |
commit | 98d400f5e003b5b8589f73ac7c196f11708f09eb (patch) | |
tree | 30f8a13727563fdc529b9fd5fbb25df552b5a076 /core | |
parent | 4d5e408a6634a08fcab122735c25d30d3170d932 (diff) | |
download | go-tangerine-98d400f5e003b5b8589f73ac7c196f11708f09eb.tar go-tangerine-98d400f5e003b5b8589f73ac7c196f11708f09eb.tar.gz go-tangerine-98d400f5e003b5b8589f73ac7c196f11708f09eb.tar.bz2 go-tangerine-98d400f5e003b5b8589f73ac7c196f11708f09eb.tar.lz go-tangerine-98d400f5e003b5b8589f73ac7c196f11708f09eb.tar.xz go-tangerine-98d400f5e003b5b8589f73ac7c196f11708f09eb.tar.zst go-tangerine-98d400f5e003b5b8589f73ac7c196f11708f09eb.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 eaca53673..a176deb00 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) |