From 6cf294ff738bdd4fa04fdfa35950d6c598a6a829 Mon Sep 17 00:00:00 2001 From: Taegus Date: Sun, 16 Dec 2018 17:45:07 +0100 Subject: [PATCH] + repeat the block transaction resync when done --- renderer/transactions.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/renderer/transactions.js b/renderer/transactions.js index 07b44d3..5e12fa8 100644 --- a/renderer/transactions.js +++ b/renderer/transactions.js @@ -156,7 +156,12 @@ $(document).on("onSyncInterval", function() { // call the next iteration for the next block getNextBlockTransactions(blockNumber + 1 , maxBlock) + } else { + setTimeout(function() { + doSyncRemainingBlocks(); + }, 10000); } + } ); }