Commit 7ff5c9b8 authored by vipwzw's avatar vipwzw

auto ci

parent 71c5cb08
...@@ -326,8 +326,8 @@ func (client *client) getLastBlockInfo() (int64, *types.Block, error) { ...@@ -326,8 +326,8 @@ func (client *client) getLastBlockInfo() (int64, *types.Block, error) {
if err != nil { if err != nil {
return -2, nil, err return -2, nil, err
} }
if main.Detail.Block.Height != startHeight{ if main.Detail.Block.Height != startHeight {
plog.Error("get start seq's main block height not expected as config","config",startHeight,"main", plog.Error("get start seq's main block height not expected as config", "config", startHeight, "main",
main.Detail.Block.Height) main.Detail.Block.Height)
//main chain node is not the initial node and the startHeight not match as config //main chain node is not the initial node and the startHeight not match as config
panic("main chain node is not the initial node, need switch main node or delete db") panic("main chain node is not the initial node, need switch main node or delete db")
......
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