Merge PR #4234: Allow tx send (generate-only) to actually work offline
This commit is contained in:
parent
5ca93ac574
commit
5653c768bb
|
@ -0,0 +1,2 @@
|
||||||
|
[#4234](https://github.com/cosmos/cosmos-sdk/pull/4234) Allow `tx send --generate-only` to
|
||||||
|
actually work offline.
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue