add log-system, bug fixed
This commit is contained in:
@@ -145,10 +145,10 @@ func NewETHNode(cfg message.Config, decodeKey string, l *listen.ListenServer) (*
|
||||
Cancel: cancel,
|
||||
}
|
||||
// 初始化表
|
||||
err = ethnode.initTables()
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
// err = ethnode.MysqlDB.ExecuteSQLFile("../public/eth_mysql.sql")
|
||||
// if err != nil {
|
||||
// log.Fatalf("ETH-Chain初始化数据库表失败:%v", err)
|
||||
// }
|
||||
// 更新网络公共数据和加载钱包
|
||||
height, err := ethnode.getHeight()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user