fix typo for sync strategy

This commit is contained in:
Matias Alejo Garcia 2014-02-18 10:49:52 -03:00
parent b8f95b7a0e
commit 21cdca537a

View File

@ -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);