net: send peer addr in version msg.
This commit is contained in:
parent
0f4348af6d
commit
699e71d84a
@ -892,6 +892,7 @@ Peer.prototype.sendVersion = function sendVersion() {
|
||||
packet.version = this.pool.protoVersion;
|
||||
packet.services = this.pool.address.services;
|
||||
packet.ts = this.network.now();
|
||||
packet.recv = this.address;
|
||||
packet.from = this.pool.address;
|
||||
packet.nonce = this.pool.localNonce;
|
||||
packet.agent = this.pool.userAgent;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user