test and fix InitChain

This commit is contained in:
Ethan Buchman
2018-02-17 16:32:30 -05:00
parent c7df77ce3c
commit f6cea66e2e
3 changed files with 46 additions and 7 deletions
-1
View File
@@ -19,7 +19,6 @@ const (
func LoadIAVLStore(db dbm.DB, id CommitID) (CommitStore, error) {
tree := iavl.NewVersionedTree(db, defaultIAVLCacheSize)
fmt.Println("LoadIAVLStore Version ", id.Version)
err := tree.LoadVersion(id.Version)
if err != nil {
return nil, err