Fix MountStoreWithDB(); Bump to 0.15.0-rc0
This commit is contained in:
+1
-1
@@ -64,7 +64,7 @@ func GetChainHeight() (int64, error) {
|
||||
if err != nil {
|
||||
return -1, err
|
||||
}
|
||||
height := status.LatestBlockHeight
|
||||
height := status.SyncInfo.LatestBlockHeight
|
||||
return height, nil
|
||||
}
|
||||
|
||||
|
||||
@@ -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()))
|
||||
|
||||
Reference in New Issue
Block a user