All numbers are in BigEndian

This commit is contained in:
Jae Kwon
2015-05-03 17:42:46 -07:00
parent 1c577c36f1
commit 3c96890d2d
9 changed files with 195 additions and 86 deletions
+1 -1
View File
@@ -218,7 +218,7 @@ func makeNodeInfo(sw *p2p.Switch) *types.NodeInfo {
nodeInfo := &types.NodeInfo{
Moniker: config.App().GetString("Moniker"),
Network: config.App().GetString("Network"),
Version: "0.1.0", // all JSON fields are under_score
Version: "0.2.0", // Everything is in Big Endian.
}
if !sw.IsListening() {
return nodeInfo