From 01b3ee7ee8ac2eadc56348be424cfad733265379 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Tue, 23 Sep 2014 11:20:07 -0700 Subject: [PATCH] use print for events. --- example/index.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/example/index.js b/example/index.js index f6c6546a..7f618458 100755 --- a/example/index.js +++ b/example/index.js @@ -16,13 +16,13 @@ bitcoind.start(function(err) { console.log('bitcoind: status="%s"', status); // getBlocks(bitcoind); // bitcoind.on('block', function(block) { - // console.log('Found block:'); - // console.log(block); + // print('Found block:'); + // print(block); + // }); + // bitcoind.on('tx', function(tx) { + // print('Found tx:'); + // print(tx); // }); - bitcoind.on('tx', function(tx) { - console.log('Found tx:'); - console.log(tx); - }); }); });