fix(x/auth): set from flag in multi-sign command (#19239)

Co-authored-by: Aleksandr Bezobchuk <alexanderbez@users.noreply.github.com>
This commit is contained in:
Julián Toledano 2024-01-26 09:50:17 +01:00 committed by GitHub
parent 7601a1a18c
commit e65f392b93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -51,5 +51,6 @@ Ref: https://keepachangelog.com/en/1.0.0/
### Bug Fixes
* [#19239](https://github.com/cosmos/cosmos-sdk/pull/19239) Sets from flag in multi-sign command to avoid no key name provided error.
* [#19099](https://github.com/cosmos/cosmos-sdk/pull/19099) `verifyIsOnCurve` now checks if we are simulating to avoid malformed public key error.

View File

@ -70,6 +70,7 @@ func makeMultiSignCmd() func(cmd *cobra.Command, args []string) (err error) {
file := args[0]
name := args[1]
sigsRaw := args[2:]
_ = cmd.Flags().Set(flags.FlagFrom, args[1])
clientCtx, err := client.GetClientTxContext(cmd)
if err != nil {