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