mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-05 04:55:18 +00:00
versioning
This commit is contained in:
@@ -188,6 +188,7 @@ func makeNodeInfo(sw *p2p.Switch) *types.NodeInfo {
|
||||
nodeInfo := &types.NodeInfo{
|
||||
Moniker: config.App().GetString("Moniker"),
|
||||
Network: config.App().GetString("Network"),
|
||||
Version: "0.0.1",
|
||||
}
|
||||
if !sw.IsListening() {
|
||||
return nodeInfo
|
||||
|
||||
Reference in New Issue
Block a user