peer: remove useless call.
This commit is contained in:
parent
cc6ccfe9d9
commit
3d0254054c
@ -1406,11 +1406,9 @@ Peer.prototype.blockType = function blockType() {
|
||||
if (this.options.spv)
|
||||
return invTypes.FILTERED_BLOCK;
|
||||
|
||||
if (this.options.compact) {
|
||||
if (this.hasCompact() && this.compactMode !== -1) {
|
||||
if (!this.options.hasWitness() || this.compactWitness)
|
||||
return invTypes.CMPCT_BLOCK;
|
||||
}
|
||||
if (this.options.compact && this.compactMode !== -1) {
|
||||
if (!this.options.hasWitness() || this.compactWitness)
|
||||
return invTypes.CMPCT_BLOCK;
|
||||
}
|
||||
|
||||
if (this.hasWitness())
|
||||
|
||||
Loading…
Reference in New Issue
Block a user