Fixed type rcpCommand -> rpcCommand lol
This commit is contained in:
parent
d45c2fadc6
commit
b6c8039168
@ -90,9 +90,9 @@ var pool = module.exports = function pool(options, authorizeFn){
|
|||||||
*/
|
*/
|
||||||
function SubmitBlock(blockHex, callback){
|
function SubmitBlock(blockHex, callback){
|
||||||
|
|
||||||
var rcpCommand, rpcArgs;
|
var rpcCommand, rpcArgs;
|
||||||
if (options.hasSubmitMethod){
|
if (options.hasSubmitMethod){
|
||||||
rcpCommand = 'submitblock';
|
rpcCommand = 'submitblock';
|
||||||
rpcArgs = [blockHex];
|
rpcArgs = [blockHex];
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
@ -101,7 +101,7 @@ var pool = module.exports = function pool(options, authorizeFn){
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
_this.daemon.cmd(rcpCommand,
|
_this.daemon.cmd(rpcCommand,
|
||||||
rpcArgs,
|
rpcArgs,
|
||||||
function(results){
|
function(results){
|
||||||
results.forEach(function(result){
|
results.forEach(function(result){
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user