peer: minor.

This commit is contained in:
Christopher Jeffrey 2016-12-29 15:35:03 -08:00
parent 943c5d2d12
commit da7640cd27
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD

View File

@ -1700,9 +1700,6 @@ Peer.prototype.getBroadcasted = function getBroadcasted(item) {
entry.ack(this);
if (!entry.msg)
return;
if (item.isTX()) {
if (entry.type !== invTypes.TX)
return;
@ -1775,7 +1772,7 @@ Peer.prototype.sendBlock = co(function* sendBlock(item, witness) {
if (!block)
return false;
yield this.sendRaw('block', block);
this.sendRaw('block', block);
return true;
}