Merge PR #4234: Allow tx send (generate-only) to actually work offline

This commit is contained in:
Alexander Bezobchuk
2019-04-30 12:47:26 -04:00
committed by GitHub
parent 5ca93ac574
commit 5653c768bb
2 changed files with 2 additions and 4 deletions
@@ -0,0 +1,2 @@
[#4234](https://github.com/cosmos/cosmos-sdk/pull/4234) Allow `tx send --generate-only` to
actually work offline.
-4
View File
@@ -29,10 +29,6 @@ func SendTxCmd(cdc *codec.Codec) *cobra.Command {
WithCodec(cdc).
WithAccountDecoder(cdc)
if err := cliCtx.EnsureAccountExists(); err != nil {
return err
}
to, err := sdk.AccAddressFromBech32(args[1])
if err != nil {
return err