Merge pull request #985 from LLLeon/master
modify bad syntax for struct tag value
This commit is contained in:
commit
64f445ed22
|
@ -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 {
|
||||||
|
|
|
@ -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"`
|
||||||
|
|
Loading…
Reference in New Issue