From abb2227b3a464ee7f822ad204517a02099ac4d30 Mon Sep 17 00:00:00 2001 From: Aleksandr Bezobchuk Date: Tue, 30 Apr 2019 11:18:39 -0400 Subject: [PATCH 1/2] Allow tx send (generate-only) to actually work offline --- x/bank/client/cli/sendtx.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/x/bank/client/cli/sendtx.go b/x/bank/client/cli/sendtx.go index 9225ae27855a..900189d9f2d4 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 From f8527d4d1ce41e56d9f54a0fa99134184d5f65eb Mon Sep 17 00:00:00 2001 From: Aleksandr Bezobchuk Date: Tue, 30 Apr 2019 11:21:06 -0400 Subject: [PATCH 2/2] Add pending log entry --- .pending/bugfixes/sdk/4234-https-github-co | 2 ++ 1 file changed, 2 insertions(+) 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 000000000000..6754862d5850 --- /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.