Merge pull request #368 from Sexual/patch-1

Add node.start to Node Constructor
This commit is contained in:
Chris Kleeschulte 2015-12-11 09:39:35 -05:00
commit d0b78f52ec
1 changed files with 4 additions and 0 deletions

View File

@ -32,6 +32,10 @@ var configuration = {
var node = new Node(configuration);
node.start(function() {
//start the node so the node.on('ready') is actually called.
});
node.on('ready', function() {
console.log('Bitcoin Node Ready');
});