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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View File

@ -0,0 +1,2 @@
[#4234](https://github.com/cosmos/cosmos-sdk/pull/4234) Allow `tx send --generate-only` to
actually work offline.

View File

@ -29,10 +29,6 @@ func SendTxCmd(cdc *codec.Codec) *cobra.Command {
WithCodec(cdc). WithCodec(cdc).
WithAccountDecoder(cdc) WithAccountDecoder(cdc)
if err := cliCtx.EnsureAccountExists(); err != nil {
return err
}
to, err := sdk.AccAddressFromBech32(args[1]) to, err := sdk.AccAddressFromBech32(args[1])
if err != nil { if err != nil {
return err return err