Commit 099963d5 authored by suyanlong's avatar suyanlong

Fix para height bug

parent 2386789f
......@@ -412,7 +412,7 @@ func (p *Paracross) processBlock(height, end int64) {
continue END
}
if p.paraHeight.Load() == status.Height {
if p.paraHeight.Load() == status.Height && status.Height != -1 {
p.logger.Warn("is syncing block", "status", util.FormatJSON(status), "current main height", height, "para height", status.Height)
time.Sleep(time.Second)
continue END
......
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