Commit a5df9a90 authored by kingwang's avatar kingwang

update 0102

parent 876a76b2
...@@ -80,7 +80,7 @@ func (chain *BlockChain) reIndexOne(height int64) error { ...@@ -80,7 +80,7 @@ func (chain *BlockChain) reIndexOne(height int64) error {
panic(err) panic(err)
} }
if height%1000 == 0 { if height%1000 == 0 {
chainlog.Info("reindex -> ", "height", height) chainlog.Info("reindex -> ", "height", height, "lastheight", chain.GetBlockHeight())
} }
//保存tx信息到db中(newbatch, blockdetail) //保存tx信息到db中(newbatch, blockdetail)
err = chain.blockStore.AddTxs(newbatch, blockdetail) err = chain.blockStore.AddTxs(newbatch, blockdetail)
......
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