From 5da41a6c88edb834848da38296b3cc0ab2120553 Mon Sep 17 00:00:00 2001 From: LLLeon Date: Sun, 13 May 2018 17:34:56 +0800 Subject: [PATCH] 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 {