peer: minor.
This commit is contained in:
parent
943c5d2d12
commit
da7640cd27
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user