Unverified Commit 013d3bb9 authored by 33cn's avatar 33cn Committed by GitHub

Merge pull request #197 from vipwzw/update_chain33_0102

update 0102
parents 876a76b2 a5df9a90
...@@ -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