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"`
Decimals int `json:"decimals"`
Version string `json:"version"`
BestHeight int `json:"bestheight"`
BestHash string `json:"besthash"`
Block0Hash string `json:"block0hash"`
BestHeight int `json:"bestHeight"`
BestHash string `json:"bestHash"`
Block0Hash string `json:"block0Hash"`
Testnet bool `json:"testnet"`
}
return &info{