Commit 1d7a34e2 authored by szh's avatar szh

update tx

parent e47a2424
......@@ -24,6 +24,7 @@ func Setup() {
panic(err)
}
}
logging.Info("start height:",height)
prev.LocalHeight = height
prev.SetMainHeight()
}
......@@ -39,7 +40,7 @@ type prevHeight struct {
}
func SyncBlock() {
logging.Info("init prevheight",prev)
for {
var t time.Duration
prev.lock.Lock()
......
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