Add node.start to node constructur

Spent about 17 hours trying to figure out why my node wasn't starting. Kinda silly to miss something like this.
This commit is contained in:
Sladey 2015-12-05 21:47:13 +00:00
parent 59701c4c34
commit 7c841e2cdc
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');
});