From 47b7a641dd180f9a8512cff08bcaf50a604632e2 Mon Sep 17 00:00:00 2001 From: Jae Kwon Date: Mon, 4 May 2015 18:24:10 -0700 Subject: [PATCH] json field fixes --- rpc/core/types/responses.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rpc/core/types/responses.go b/rpc/core/types/responses.go index 17b726a6..edb78146 100644 --- a/rpc/core/types/responses.go +++ b/rpc/core/types/responses.go @@ -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"` }