mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 10:05:18 +00:00
fix struct tag json syntax (#1194)
This commit is contained in:
parent
a073238f34
commit
26e350945e
@ -31,7 +31,7 @@ type validatorInfo struct {
|
|||||||
type resultStatus struct {
|
type resultStatus struct {
|
||||||
NodeInfo p2p.DefaultNodeInfo `json:"node_info"`
|
NodeInfo p2p.DefaultNodeInfo `json:"node_info"`
|
||||||
SyncInfo ctypes.SyncInfo `json:"sync_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.
|
// StatusCommand returns the command to return the status of the network.
|
||||||
|
Loading…
Reference in New Issue
Block a user