minor.
This commit is contained in:
parent
24ff3fe6d4
commit
5c61760fef
@ -2214,7 +2214,7 @@ Pool.prototype.isMisbehaving = function isMisbehaving(host) {
|
|||||||
Pool.prototype.reject = function reject(peer, obj, code, reason, score) {
|
Pool.prototype.reject = function reject(peer, obj, code, reason, score) {
|
||||||
if (obj) {
|
if (obj) {
|
||||||
bcoin.debug('Rejecting %s %s from %s: ccode=%s reason=%s',
|
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({
|
peer.reject({
|
||||||
ccode: code,
|
ccode: code,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user