Commit 26b186f3 authored by liuyuhang's avatar liuyuhang

add storedb version

parent f7785d1e
......@@ -73,7 +73,7 @@ func (chain *BlockChain) ReExecBlock(startHeight, curHeight int64) {
}
prevStateHash = block.StateHash
//更新高度
err = chain.upgradeMeta(startHeight)
err = chain.upgradeMeta(i)
if err != nil {
panic(err)
}
......
......@@ -136,7 +136,7 @@ func RunChain33(name string) {
version.SetLocalDBVersion(cfg.Store.LocalDBVersion)
version.SetStoreDBVersion(cfg.Store.StoreDBVersion)
version.SetAppVersion(cfg.Version)
log.Info(cfg.Title + "-app:" + version.GetAppVersion() + " chain33:" + version.GetVersion() + " localdb:" + version.GetLocalDBVersion())
log.Info(cfg.Title + "-app:" + version.GetAppVersion() + " chain33:" + version.GetVersion() + " localdb:" + version.GetLocalDBVersion() + " storedb:" + version.GetStoreDBVersion())
log.Info("loading queue")
q := queue.New("channel")
......
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