Skip to content

Commit

Permalink
Merge PR #4234: Allow tx send (generate-only) to actually work offline
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderbez committed May 3, 2019
1 parent 1127446 commit 8c8ca61
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 0.34.4

### Bug Fixes

* [#4234](https://github.com/cosmos/cosmos-sdk/pull/4234) Allow `tx send --generate-only` to
actually work offline.

## 0.34.3

### Bug Fixes
Expand Down
6 changes: 1 addition & 5 deletions x/bank/client/cli/sendtx.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,7 @@ func SendTxCmd(cdc *codec.Codec) *cobra.Command {
WithCodec(cdc).
WithAccountDecoder(cdc)

if err := cliCtx.EnsureAccountExists(); err != nil {
return err
}

to, err := sdk.AccAddressFromBech32(args[0])
to, err := sdk.AccAddressFromBech32(args[1])
if err != nil {
return err
}
Expand Down

0 comments on commit 8c8ca61

Please sign in to comment.