From 38f4b084c1c0187d4d957cb452b67a41a6b224f0 Mon Sep 17 00:00:00 2001 From: Federico Kunze Date: Thu, 19 Mar 2020 22:42:34 -0300 Subject: [PATCH] authclient: update godoc for gas adjusted --- x/auth/client/tx.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/x/auth/client/tx.go b/x/auth/client/tx.go index 3bd61a8e11..09f3146e7c 100644 --- a/x/auth/client/tx.go +++ b/x/auth/client/tx.go @@ -129,7 +129,7 @@ func EnrichWithGas(txBldr authtypes.TxBuilder, cliCtx context.CLIContext, msgs [ } // CalculateGas simulates the execution of a transaction and returns -// the simulation response obtained by the query and the adjusted amount. +// the simulation response obtained by the query and the adjusted gas amount. func CalculateGas( queryFunc func(string, []byte) ([]byte, int64, error), cdc *codec.Codec, txBytes []byte, adjustment float64, @@ -271,8 +271,8 @@ func GetTxEncoder(cdc *codec.Codec) (encoder sdk.TxEncoder) { return encoder } -// nolint -// SimulateMsgs simulates the transaction and returns the simulation response and the adjusted value. +// simulateMsgs simulates the transaction and returns the simulation response and +// the adjusted gas value. func simulateMsgs(txBldr authtypes.TxBuilder, cliCtx context.CLIContext, msgs []sdk.Msg) (sdk.SimulationResponse, uint64, error) { txBytes, err := txBldr.BuildTxForSim(msgs) if err != nil {