fix struct tag json syntax (#1194)

This commit is contained in:
Ruaridh 2022-03-24 14:46:09 +00:00 committed by GitHub
parent a073238f34
commit 26e350945e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,7 @@ type validatorInfo struct {
type resultStatus struct {
NodeInfo p2p.DefaultNodeInfo `json:"node_info"`
SyncInfo ctypes.SyncInfo `json:"sync_info"`
ValidatorInfo validatorInfo `json:"validator_info`
ValidatorInfo validatorInfo `json:"validator_info"`
}
// StatusCommand returns the command to return the status of the network.