GetClientContextFromCmd -> GetClientTxContext

This commit is contained in:
Sunny Aggarwal 2021-01-19 15:50:13 -05:00
parent 4279f3cc50
commit cc15a2dfca
1 changed files with 1 additions and 2 deletions

View File

@ -265,8 +265,7 @@ $ %s tx gov vote 1 yes=0.6,no=0.3,abstain=0.05,no_with_veto=0.05 --from mykey
),
),
RunE: func(cmd *cobra.Command, args []string) error {
clientCtx := client.GetClientContextFromCmd(cmd)
clientCtx, err := client.ReadTxCommandFlags(clientCtx, cmd.Flags())
clientCtx, err := client.GetClientTxContext(cmd)
if err != nil {
return err
}