Make websocket interface fields camelCase

pull/187/head^2
Martin Boehm 2019-04-18 10:31:41 +02:00
parent 55e39f0ea4
commit 239ccdfd78
1 changed files with 3 additions and 3 deletions

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{