upgrade proposal needs tx flags. (#6981)

* upgrade proposal needs tx flags

* use AddTxFlagToCmd to every proposal command

Co-authored-by: Alessio Treglia <alessio@tendermint.com>
Co-authored-by: Alexander Bezobchuk <alexanderbez@users.noreply.github.com>
This commit is contained in:
Jonathan Gimeno
2020-08-13 15:46:12 +00:00
committed by GitHub
co-authored by Alessio Treglia Alexander Bezobchuk
parent a555b2cd4c
commit 4c762db64e
4 changed files with 2 additions and 4 deletions
+1
View File
@@ -61,6 +61,7 @@ func NewTxCmd(propCmds []*cobra.Command) *cobra.Command {
cmdSubmitProp := NewCmdSubmitProposal()
for _, propCmd := range propCmds {
flags.AddTxFlagsToCmd(propCmd)
cmdSubmitProp.AddCommand(propCmd)
}