minor cleanup
This commit is contained in:
parent
98c19516c5
commit
ade7186ffb
|
@ -75,6 +75,9 @@ func NewGaiaApp(logger log.Logger, db dbm.DB, traceStore io.Writer, baseAppOptio
|
|||
keyFeeCollection: sdk.NewKVStoreKey("fee"),
|
||||
}
|
||||
|
||||
// Set app.cdc so that Query has same result encoding
|
||||
app.cdc = cdc
|
||||
|
||||
// define the accountMapper
|
||||
app.accountMapper = auth.NewAccountMapper(
|
||||
app.cdc,
|
||||
|
|
|
@ -164,7 +164,7 @@ type StdSignature struct {
|
|||
Sequence int64 `json:"sequence"`
|
||||
}
|
||||
|
||||
// default custom logic for transaction decoding
|
||||
// logic for standard transaction decoding
|
||||
func DefaultTxDecoder(cdc *wire.Codec) sdk.TxDecoder {
|
||||
return func(txBytes []byte) (sdk.Tx, sdk.Error) {
|
||||
var tx = StdTx{}
|
||||
|
|
Loading…
Reference in New Issue