peer: send havewitness only for segnet3.
This commit is contained in:
parent
bc7b6f487b
commit
e3389ac28b
@ -307,7 +307,7 @@ Peer.prototype._onAck = function _onAck(err) {
|
||||
// Let them know we support segwit (old
|
||||
// segwit3 nodes require this instead
|
||||
// of service bits).
|
||||
if (this.pool.options.witness) {
|
||||
if (this.network.oldWitness) {
|
||||
if (this.version.version >= 70012)
|
||||
this.write(this.framer.haveWitness());
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user