Skip to content

Commit

Permalink
Merge pull request ethereum#2955 from skubakdj/ethblocks-fix
Browse files Browse the repository at this point in the history
Node info breaks on slow IPC connection
  • Loading branch information
evertonfraga authored Oct 21, 2017
2 parents dddfb1d + f47ec98 commit a95a53d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions interface/client/appStart.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ mistInit = function () {
console.info('Initialise Mist Interface');

EthBlocks.init();
const ethBlocksInterval = setInterval(() => {
if (_.isEmpty(EthBlocks.latest)) {
EthBlocks.init();
} else {
clearInterval(ethBlocksInterval);
}
}, 500);

Tabs.onceSynced.then(function () {
if (location.search.indexOf('reset-tabs') >= 0) {
Expand Down

0 comments on commit a95a53d

Please sign in to comment.