Make websocket interface fields camelCase
This commit is contained in:
parent
55e39f0ea4
commit
239ccdfd78
@ -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{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user