mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-25 14:52:17 +00:00
spec: add missing field to NodeInfoOther (#2426)
and fix formatting Refs https://github.com/tendermint/tendermint/pull/2417#discussion_r218080500
This commit is contained in:
parent
2fbf810cd8
commit
89462c52d9
@ -92,6 +92,7 @@ type NodeInfoOther struct {
|
|||||||
ConsensusVersion string
|
ConsensusVersion string
|
||||||
RPCVersion string
|
RPCVersion string
|
||||||
TxIndex string
|
TxIndex string
|
||||||
|
RPCAddress string
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -83,7 +83,8 @@ func (info NodeInfo) Validate() error {
|
|||||||
// Sanitize versions
|
// Sanitize versions
|
||||||
// XXX: Should we be more strict about version and address formats?
|
// XXX: Should we be more strict about version and address formats?
|
||||||
other := info.Other
|
other := info.Other
|
||||||
versions := []string{other.AminoVersion,
|
versions := []string{
|
||||||
|
other.AminoVersion,
|
||||||
other.AminoVersion,
|
other.AminoVersion,
|
||||||
other.P2PVersion,
|
other.P2PVersion,
|
||||||
other.ConsensusVersion,
|
other.ConsensusVersion,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user