Merge pull request #985 from LLLeon/master

modify bad syntax for struct tag value
This commit is contained in:
Rigel 2018-05-14 10:29:11 -04:00 committed by GitHub
commit 64f445ed22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -77,8 +77,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 {

View File

@ -119,7 +119,7 @@ func (msg MsgIssue) GetSigners() []sdk.Address {
//---------------------------------------- //----------------------------------------
// Input // Input
// Transaction Output // Transaction Input
type Input struct { type Input struct {
Address sdk.Address `json:"address"` Address sdk.Address `json:"address"`
Coins sdk.Coins `json:"coins"` Coins sdk.Coins `json:"coins"`