fix: Use the default Zcash port in version messages (#661)
We don't provide our address yet, so the port should be ignored. But let's use the correct port, to avoid carrying this bug forward into working code.
This commit is contained in:
parent
f70f3b324c
commit
ab6d1f5ec8
|
@ -121,7 +121,9 @@ where
|
||||||
services: PeerServices::NODE_NETWORK,
|
services: PeerServices::NODE_NETWORK,
|
||||||
timestamp: Utc::now(),
|
timestamp: Utc::now(),
|
||||||
address_recv: (PeerServices::NODE_NETWORK, addr),
|
address_recv: (PeerServices::NODE_NETWORK, addr),
|
||||||
address_from: (PeerServices::NODE_NETWORK, "0.0.0.0:9000".parse().unwrap()),
|
// TODO: when we've implemented block and transaction relaying,
|
||||||
|
// send our configured address to the peer
|
||||||
|
address_from: (PeerServices::NODE_NETWORK, "0.0.0.0:8233".parse().unwrap()),
|
||||||
nonce: local_nonce,
|
nonce: local_nonce,
|
||||||
user_agent,
|
user_agent,
|
||||||
// XXX eventually the `PeerConnector` will need to have a handle
|
// XXX eventually the `PeerConnector` will need to have a handle
|
||||||
|
|
Loading…
Reference in New Issue