Commit bbcf38d3 authored by mdj33's avatar mdj33 Committed by vipwzw

re sync from genesis 0 block

parent c736f790
......@@ -498,7 +498,7 @@ func (client *client) switchHashMatchedBlock(currSeq *int64, preMainBlockHash *[
plog.Error("Parachain GetLastSeq fail", "err", err)
return
}
*currSeq = lastSeq
*currSeq = lastSeq+1
*preMainBlockHash = lastSeqMainHash
plog.Error("switchHashMatchedBlock sync from height 0")
return
......@@ -537,7 +537,7 @@ func (client *client) switchHashMatchedBlock(currSeq *int64, preMainBlockHash *[
plog.Error("Parachain GetLastSeq fail", "err", err)
return
}
*currSeq = lastSeq
*currSeq = lastSeq+1
*preMainBlockHash = lastSeqMainHash
plog.Error("switchHashMatchedBlock sync from height 0")
return
......
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