Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Send process ready event when blockchain is ready for use by process …
Browse files Browse the repository at this point in the history
…manager
  • Loading branch information
jondubois committed Sep 10, 2018
1 parent 55fc17d commit 5fc911f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,7 @@ __private.loadBlockChain = function() {
} else {
library.logger.info('Blockchain ready');
library.bus.message('blockchainReady');
process.send('ready');
}
}
);
Expand Down Expand Up @@ -555,6 +556,7 @@ __private.loadBlockChain = function() {

library.logger.info('Blockchain ready');
library.bus.message('blockchainReady');
process.send('ready');
});
});
});
Expand Down

0 comments on commit 5fc911f

Please sign in to comment.