From 7c841e2cdc631225f723623f5cec43b83be4a9cb Mon Sep 17 00:00:00 2001 From: Sladey Date: Sat, 5 Dec 2015 21:47:13 +0000 Subject: [PATCH] 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. --- docs/node.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/node.md b/docs/node.md index 330ab64b..ddff201a 100644 --- a/docs/node.md +++ b/docs/node.md @@ -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'); });