Make websocket interface fields camelCase

This commit is contained in:
Martin Boehm 2019-04-18 10:31:41 +02:00
parent 55e39f0ea4
commit 239ccdfd78

View File

@ -426,9 +426,9 @@ func (s *WebsocketServer) getInfo() (interface{}, error) {
Shortcut string `json:"shortcut"` Shortcut string `json:"shortcut"`
Decimals int `json:"decimals"` Decimals int `json:"decimals"`
Version string `json:"version"` Version string `json:"version"`
BestHeight int `json:"bestheight"` BestHeight int `json:"bestHeight"`
BestHash string `json:"besthash"` BestHash string `json:"bestHash"`
Block0Hash string `json:"block0hash"` Block0Hash string `json:"block0Hash"`
Testnet bool `json:"testnet"` Testnet bool `json:"testnet"`
} }
return &info{ return &info{