diff --git a/lib/http/server.js b/lib/http/server.js index 6b3db540..aa0baeca 100644 --- a/lib/http/server.js +++ b/lib/http/server.js @@ -570,7 +570,9 @@ HTTPServer.prototype._init = function _init() { cmd.method = 'getworklp'; } - if (cmd.method !== 'getblocktemplate' && cmd.method !== 'getwork') { + if (cmd.method !== 'getwork' + && cmd.method !== 'getblocktemplate' + && cmd.method !== 'getbestblockhash') { this.logger.debug('Handling RPC call: %s.', cmd.method); if (cmd.method !== 'submitblock' && cmd.method !== 'getmemorypool') {