This commit is contained in:
Christopher Jeffrey 2016-05-09 00:51:12 -07:00
parent 24ff3fe6d4
commit 5c61760fef
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -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,