http: less spam.

This commit is contained in:
Christopher Jeffrey 2017-02-26 04:27:00 -08:00
parent ad51bf53f3
commit bb5a7b00d6
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -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') {