mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-14 13:51:21 +00:00
p2p: add RPCAddress to NodeInfoOther.String() (#2442)
- remove second AminoVersion from https://github.com/tendermint/tendermint/pull/2426/files#diff-f2fefc7a06ea0d1e0a910196901e50aaR86 Refs #2433
This commit is contained in:
committed by
Alexander Simmerl
parent
c0cdb9d441
commit
aa5495f24e
@ -775,6 +775,7 @@ func makeNodeInfo(
|
||||
ConsensusVersion: cs.Version,
|
||||
RPCVersion: fmt.Sprintf("%v/%v", rpc.Version, rpccore.Version),
|
||||
TxIndex: txIndexerStatus,
|
||||
RPCAddress: config.RPC.ListenAddress,
|
||||
},
|
||||
}
|
||||
|
||||
@ -782,9 +783,6 @@ func makeNodeInfo(
|
||||
nodeInfo.Channels = append(nodeInfo.Channels, pex.PexChannel)
|
||||
}
|
||||
|
||||
rpcListenAddr := config.RPC.ListenAddress
|
||||
nodeInfo.Other.RPCAddress = rpcListenAddr
|
||||
|
||||
lAddr := config.P2P.ExternalAddress
|
||||
|
||||
if lAddr == "" {
|
||||
|
Reference in New Issue
Block a user