Fix MountStoreWithDB(); Bump to 0.15.0-rc0

This commit is contained in:
Jae Kwon
2018-04-13 02:04:31 -07:00
parent eb25943c58
commit d530ee2abc
7 changed files with 41 additions and 35 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ func GetChainHeight() (int64, error) {
if err != nil {
return -1, err
}
height := status.LatestBlockHeight
height := status.SyncInfo.LatestBlockHeight
return height, nil
}
+1 -1
View File
@@ -77,7 +77,7 @@ func NodeSyncingRequestHandler(w http.ResponseWriter, r *http.Request) {
return
}
syncing := status.Syncing
syncing := status.SyncInfo.Syncing
if err != nil {
w.WriteHeader(500)
w.Write([]byte(err.Error()))