Skip to content

Commit

Permalink
modify err printf
Browse files Browse the repository at this point in the history
  • Loading branch information
findbug2019 committed May 3, 2019
1 parent a3a8e50 commit f3f2014
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blockchain/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ func (g *Genesis) ToBlock(db fdb.Database) (*types.Block, []*types.Receipt) {
panic(fmt.Sprintf("account is not exist %v", err))
}
if ok, err := accountManager.AccountIsExist(common.StrToName(g.Config.AssetName)); !ok {
panic(fmt.Sprintf("assetname is not exist %v", err))
panic(fmt.Sprintf("asset account is not exist %v", err))
}
if ok, err := accountManager.AccountIsExist(common.StrToName(g.Config.DposName)); !ok {
panic(fmt.Sprintf("dpos is not exist %v", err))
Expand Down

0 comments on commit f3f2014

Please sign in to comment.