Commit c019ffd7 authored by vipwzw's avatar vipwzw

auto ci

parent 2a47c254
...@@ -525,7 +525,7 @@ func (client *client) switchHashMatchedBlock(currSeq *int64, preMainBlockHash *[ ...@@ -525,7 +525,7 @@ func (client *client) switchHashMatchedBlock(currSeq *int64, preMainBlockHash *[
depth-- depth--
if depth == 0 { if depth == 0 {
plog.Error("switchHashMatchedBlock depth overflow", "last info:mainHeight", miner.MainBlockHeight, plog.Error("switchHashMatchedBlock depth overflow", "last info:mainHeight", miner.MainBlockHeight,
"mainHash", common.Bytes2Hex(miner.MainBlockHash), "search startHeight",lastBlock.Height,"curHeight",miner.Height, "mainHash", common.Bytes2Hex(miner.MainBlockHash), "search startHeight", lastBlock.Height, "curHeight", miner.Height,
"search depth", searchHashMatchDepth) "search depth", searchHashMatchDepth)
panic("search HashMatchedBlock overflow, re-setting search depth and restart to try") panic("search HashMatchedBlock overflow, re-setting search depth and restart to try")
} }
......
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