From 5653c768bb5deddbc81f3d8842dac3bbca024df1 Mon Sep 17 00:00:00 2001 From: Alexander Bezobchuk Date: Tue, 30 Apr 2019 12:47:26 -0400 Subject: [PATCH] Merge PR #4234: Allow tx send (generate-only) to actually work offline --- .pending/bugfixes/sdk/4234-https-github-co | 2 ++ x/bank/client/cli/sendtx.go | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) create mode 100644 .pending/bugfixes/sdk/4234-https-github-co diff --git a/.pending/bugfixes/sdk/4234-https-github-co b/.pending/bugfixes/sdk/4234-https-github-co new file mode 100644 index 000000000..6754862d5 --- /dev/null +++ b/.pending/bugfixes/sdk/4234-https-github-co @@ -0,0 +1,2 @@ +[#4234](https://github.com/cosmos/cosmos-sdk/pull/4234) Allow `tx send --generate-only` to +actually work offline. diff --git a/x/bank/client/cli/sendtx.go b/x/bank/client/cli/sendtx.go index 9225ae278..900189d9f 100644 --- a/x/bank/client/cli/sendtx.go +++ b/x/bank/client/cli/sendtx.go @@ -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