From 5da41a6c88edb834848da38296b3cc0ab2120553 Mon Sep 17 00:00:00 2001 From: LLLeon Date: Sun, 13 May 2018 17:34:56 +0800 Subject: [PATCH 1/2] types: modify bad syntax for struct tag value --- types/tx_msg.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/tx_msg.go b/types/tx_msg.go index 25d35512db..d4c568e515 100644 --- a/types/tx_msg.go +++ b/types/tx_msg.go @@ -80,8 +80,8 @@ func FeePayer(tx Tx) Address { // gas to be used by the transaction. The ratio yields an effective "gasprice", // which must be above some miminum to be accepted into the mempool. type StdFee struct { - Amount Coins `json"amount"` - Gas int64 `json"gas"` + Amount Coins `json:"amount"` + Gas int64 `json:"gas"` } func NewStdFee(gas int64, amount ...Coin) StdFee { From f1e441346a05df46617a153a609b0c7727515a8f Mon Sep 17 00:00:00 2001 From: LLLeon Date: Sun, 13 May 2018 20:47:26 +0800 Subject: [PATCH 2/2] x/bank: fix typo --- x/bank/msgs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/bank/msgs.go b/x/bank/msgs.go index 15822eed75..c8fcb59255 100644 --- a/x/bank/msgs.go +++ b/x/bank/msgs.go @@ -138,7 +138,7 @@ func (msg IssueMsg) GetSigners() []sdk.Address { //---------------------------------------- // Input -// Transaction Output +// Transaction Input type Input struct { Address sdk.Address `json:"address"` Coins sdk.Coins `json:"coins"`