p2p: update NodeInfo for versions

This commit is contained in:
Ethan Buchman
2018-09-26 18:47:58 -07:00
parent ccd04587ff
commit 0254cbf1e6
9 changed files with 286 additions and 164 deletions

View File

@@ -772,6 +772,9 @@ func makeNodeInfo(
TxIndex: txIndexerStatus,
RPCAddress: config.RPC.ListenAddress,
},
NodeVersion: p2p.NodeVersion{
P2P: version.P2PProtocol,
},
}
if config.P2P.PexReactor {