debug messages.

This commit is contained in:
Christopher Jeffrey 2016-01-29 14:45:08 -08:00
parent 32c0f8ce3c
commit 7ce5348cd9

View File

@ -816,7 +816,9 @@ Pool.prototype._createPeer = function _createPeer(backoff, priority) {
peer.on('tx', function(tx) {
if (self._response(tx))
utils.debug('Received request TX: %s', tx.rhash);
utils.debug('Received requested TX: %s', tx.rhash);
else
utils.debug('Received unrequested TX: %s', tx.rhash);
self.emit('tx', tx, peer);