From 11aa379bb402ded12af916451c2b272c3e79d28d Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Wed, 5 Feb 2014 13:38:39 -0300 Subject: [PATCH] fix sync params --- insight.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/insight.js b/insight.js index 29b0c4a..b330942 100644 --- a/insight.js +++ b/insight.js @@ -49,7 +49,6 @@ if (!config.disableHistoricSync) { historicSync = new HistoricSync(); historicSync.init({ - skipDbConnection: true, shouldBroadcast: true, networkName: config.network }, function(err) { @@ -58,7 +57,7 @@ if (!config.disableHistoricSync) { console.log('[historic_sync] ' + txt); } else { - historicSync.smartImport(function(err){ + historicSync.smartImport({}, function(err){ var txt = 'ended.'; if (err) txt = 'ABORTED with error: ' + err.message; console.log('[historic_sync] ' + txt, historicSync.info()); @@ -73,7 +72,6 @@ if (!config.disableHistoricSync) { if (!config.disableP2pSync) { var ps = new PeerSync(); ps.init({ - skipDbConnection: true, broadcast_txs: true, broadcast_address_tx: true, broadcast_blocks: true,