mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-24 22:32:15 +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
|
||||
RPCVersion string
|
||||
TxIndex string
|
||||
RPCAddress string
|
||||
}
|
||||
```
|
||||
|
||||
|
@ -83,7 +83,8 @@ func (info NodeInfo) Validate() error {
|
||||
// Sanitize versions
|
||||
// XXX: Should we be more strict about version and address formats?
|
||||
other := info.Other
|
||||
versions := []string{other.AminoVersion,
|
||||
versions := []string{
|
||||
other.AminoVersion,
|
||||
other.AminoVersion,
|
||||
other.P2PVersion,
|
||||
other.ConsensusVersion,
|
||||
|
Loading…
x
Reference in New Issue
Block a user