json field fixes

This commit is contained in:
Jae Kwon 2015-05-04 18:24:10 -07:00
parent ff87958f95
commit 47b7a641dd
1 changed files with 4 additions and 4 deletions

View File

@ -67,9 +67,9 @@ type Receipt struct {
type ResponseStatus struct {
GenesisHash []byte `json:"genesis_hash"`
Network string `json:"network"`
LatestBlockHash []byte `json:"lastest_block_hash"`
LatestBlockHeight uint `json:"lastest_block_height"`
LatestBlockTime int64 `json:"latest_bloick_time"` // nano
LatestBlockHash []byte `json:"latest_block_hash"`
LatestBlockHeight uint `json:"latest_block_height"`
LatestBlockTime int64 `json:"latest_block_time"` // nano
}
type ResponseNetInfo struct {
@ -81,7 +81,7 @@ type ResponseNetInfo struct {
}
type Peer struct {
types.NodeInfo `json:"net_info"`
types.NodeInfo `json:"node_info"`
IsOutbound bool `json:"is_outbound"`
}