From b6c803916881fcf599dea6a26db0da91aaedcdf7 Mon Sep 17 00:00:00 2001 From: Matt Date: Thu, 27 Feb 2014 11:40:50 -0700 Subject: [PATCH] Fixed type rcpCommand -> rpcCommand lol --- lib/pool.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/pool.js b/lib/pool.js index f87dcc5..b5fd0fb 100644 --- a/lib/pool.js +++ b/lib/pool.js @@ -90,9 +90,9 @@ var pool = module.exports = function pool(options, authorizeFn){ */ function SubmitBlock(blockHex, callback){ - var rcpCommand, rpcArgs; + var rpcCommand, rpcArgs; if (options.hasSubmitMethod){ - rcpCommand = 'submitblock'; + rpcCommand = 'submitblock'; rpcArgs = [blockHex]; } else{ @@ -101,7 +101,7 @@ var pool = module.exports = function pool(options, authorizeFn){ } - _this.daemon.cmd(rcpCommand, + _this.daemon.cmd(rpcCommand, rpcArgs, function(results){ results.forEach(function(result){