From 6dde23837495fa96138d9ed1fd134634473eff97 Mon Sep 17 00:00:00 2001 From: Matt Date: Thu, 13 Feb 2014 14:16:07 -0700 Subject: [PATCH] Added POS and transaction comment support --- lib/pool.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/pool.js b/lib/pool.js index 5c08be0..7c8ac4b 100644 --- a/lib/pool.js +++ b/lib/pool.js @@ -81,6 +81,7 @@ var pool = module.exports = function pool(options, authorizeFn){ _this.daemon.cmd('submitblock', [blockHex], function(error, result){ + emitLog('submitBlockResult', result); if (error) emitErrorLog('submitblock', 'rpc error when submitting block with submitblock') else @@ -92,6 +93,7 @@ var pool = module.exports = function pool(options, authorizeFn){ _this.daemon.cmd('getblocktemplate', [{'mode': 'submit', 'data': blockHex}], function(error, result){ + emitLog('submitBlockResult', result); if (error) emitErrorLog('submitblock', 'rpc error when submitting block with getblocktemplate') else