json field fixes
This commit is contained in:
parent
ff87958f95
commit
47b7a641dd
|
@ -67,9 +67,9 @@ type Receipt struct {
|
||||||
type ResponseStatus struct {
|
type ResponseStatus struct {
|
||||||
GenesisHash []byte `json:"genesis_hash"`
|
GenesisHash []byte `json:"genesis_hash"`
|
||||||
Network string `json:"network"`
|
Network string `json:"network"`
|
||||||
LatestBlockHash []byte `json:"lastest_block_hash"`
|
LatestBlockHash []byte `json:"latest_block_hash"`
|
||||||
LatestBlockHeight uint `json:"lastest_block_height"`
|
LatestBlockHeight uint `json:"latest_block_height"`
|
||||||
LatestBlockTime int64 `json:"latest_bloick_time"` // nano
|
LatestBlockTime int64 `json:"latest_block_time"` // nano
|
||||||
}
|
}
|
||||||
|
|
||||||
type ResponseNetInfo struct {
|
type ResponseNetInfo struct {
|
||||||
|
@ -81,7 +81,7 @@ type ResponseNetInfo struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type Peer struct {
|
type Peer struct {
|
||||||
types.NodeInfo `json:"net_info"`
|
types.NodeInfo `json:"node_info"`
|
||||||
IsOutbound bool `json:"is_outbound"`
|
IsOutbound bool `json:"is_outbound"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue