Commit b15e9c10 authored by szh's avatar szh

up

parent 16e8a7fb
......@@ -9,7 +9,6 @@ import (
"chain33-pai/pkg/util"
"chain33-pai/miner"
"chain33-pai/pkg/chain33"
"net/http"
)
func init() {
......@@ -30,9 +29,9 @@ func init() {
// @license.url https://chain33-pai/blob/master/LICENSE
func main() {
gin.SetMode(setting.ServerSetting.RunMode)
go func() {
http.ListenAndServe("0.0.0.0:6061", nil)
}()
//go func() {
// http.ListenAndServe("0.0.0.0:6061", nil)
//}()
go miner.SyncBlock()
select{}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment