Linted Repo (#136)

* Linted
* Updated lint to include config file
* Linted repo
* Updated make command

* made requested changes

* added no lint
This commit is contained in:
Dustin Brickwood
2019-11-01 10:26:53 -05:00
committed by GitHub
parent 9294fa8423
commit fc57cabcab
7 changed files with 251 additions and 9 deletions
+2 -1
View File
@@ -427,7 +427,8 @@ func (e *PublicEthAPI) doCall(args CallArgs, blockNr rpc.BlockNumber, globalGasC
sdk.NewIntFromBigInt(gasPrice), data, sdk.AccAddress(addr.Bytes()))
// Generate tx to be used to simulate (signature isn't needed)
tx := authtypes.NewStdTx([]sdk.Msg{msg}, authtypes.StdFee{}, []authtypes.StdSignature{authtypes.StdSignature{}}, "")
var stdSig authtypes.StdSignature
tx := authtypes.NewStdTx([]sdk.Msg{msg}, authtypes.StdFee{}, []authtypes.StdSignature{stdSig}, "")
// Encode transaction by default Tx encoder
txEncoder := authutils.GetTxEncoder(ctx.Codec)