types: modify bad syntax for struct tag value

This commit is contained in:
LLLeon 2018-05-13 17:34:56 +08:00
parent 0fb189777c
commit 5da41a6c88
1 changed files with 2 additions and 2 deletions

View File

@ -80,8 +80,8 @@ func FeePayer(tx Tx) Address {
// gas to be used by the transaction. The ratio yields an effective "gasprice", // 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. // which must be above some miminum to be accepted into the mempool.
type StdFee struct { type StdFee struct {
Amount Coins `json"amount"` Amount Coins `json:"amount"`
Gas int64 `json"gas"` Gas int64 `json:"gas"`
} }
func NewStdFee(gas int64, amount ...Coin) StdFee { func NewStdFee(gas int64, amount ...Coin) StdFee {