diff --git a/lib/bcoin/pool.js b/lib/bcoin/pool.js index eb3417d9..1ca08ca9 100644 --- a/lib/bcoin/pool.js +++ b/lib/bcoin/pool.js @@ -2214,7 +2214,7 @@ Pool.prototype.isMisbehaving = function isMisbehaving(host) { Pool.prototype.reject = function reject(peer, obj, code, reason, score) { if (obj) { bcoin.debug('Rejecting %s %s from %s: ccode=%s reason=%s', - obj.type || 'block', obj.hash('hex'), peer.host, code, reason); + obj.type || 'block', obj.rhash, peer.host, code, reason); peer.reject({ ccode: code,