diff --git a/lib/HistoricSync.js b/lib/HistoricSync.js index 2168299..5f3c4b6 100644 --- a/lib/HistoricSync.js +++ b/lib/HistoricSync.js @@ -260,9 +260,8 @@ function spec() { HistoricSync.prototype.prepareFileSync = function(opts, next) { var self = this; - if ( - opts.forceRPC || !config.bitcoind.dataDir || - self.connectedCountDB > self.blockChainHeight > 0.9) return next(); + if ( opts.forceRPC || !config.bitcoind.dataDir || + self.connectedCountDB > self.blockChainHeight * 0.9) return next(); self.blockExtractor = new BlockExtractor(config.bitcoind.dataDir, config.network); diff --git a/public/views/status.html b/public/views/status.html index 2fc3ac9..a04b019 100644 --- a/public/views/status.html +++ b/public/views/status.html @@ -10,23 +10,26 @@

Sync Status

- - {{sync.error}} - - +
Sync Progress
- {{sync.syncPercentage}}% Complete + {{sync.syncPercentage}}% Complete
Current Sync Status{{sync.status}} + {{sync.status}} + + + {{sync.error}} + +
Start Date