aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorDeterminant <[email protected]>2020-07-01 16:34:08 -0400
committerDeterminant <[email protected]>2020-07-01 16:34:08 -0400
commita00cf4e6318e0dcda72725995653011c545e13ff (patch)
treeffed262282f64afac1f27f71fd140588f9995d46 /core
parentfbe0f2d6b14d7b6fc43068e224412d4e65176550 (diff)
embed mc lib into genesis
Diffstat (limited to 'core')
-rw-r--r--core/genesis.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/genesis.go b/core/genesis.go
index ef490bf..7378a53 100644
--- a/core/genesis.go
+++ b/core/genesis.go
@@ -266,6 +266,7 @@ func (g *Genesis) ToBlock(db ethdb.Database) *types.Block {
}
if account.MCBalance != nil {
statedb.ForceEnableMultiCoin(addr)
+ fmt.Println("enable", addr.Hex())
for coinID, value := range account.MCBalance {
statedb.AddBalanceMultiCoin(addr, coinID, value)
}