// addTxCmdCommonFlags defines common flags to be reused across tx commands
addTxCmdCommonFlags defines common flags to be reused across tx commands
// addTxCmdCommonFlags defines common flags to be reused across tx commands
func addTxCmdCommonFlags(cmd *cobra.Command) {
	cmd.Flags().IntVarP(&flagSequence, "sequence", "s", 0, "sequence number for the tx")
	cmd.Flags().IntVarP(&flagAccount, "account", "a", 0, "account number for the tx")
	cmd.Flags().StringVarP(&flagNode, "node", "n", "", "tendermint rpc node to get sequence and account number from")
	cmd.Flags().BoolVarP(&flagForce, "force", "f", false, "overwrite files already there")
	cmd.Flags().BoolVarP(&flagAdditional, "additional", "x", false, "add additional txs with higher sequence number")
}
func addTxCmdCommonFlags ( cmd * cobra . Command ) { cmd . Flags ( ) . IntVarP ( & flagSequence , " " , " " , 0 , " " ) cmd . Flags ( ) . IntVarP ( & flagAccount , " " , " " , 0 , " " ) cmd . Flags ( ) . StringVarP ( & flagNode , " " , " " , " " , " " ) cmd . Flags ( ) . BoolVarP ( & flagForce , " " , " " , false , " " ) cmd . Flags ( ) . BoolVarP ( & flagAdditional , " " , " " , false , " " ) }
addTxCmdCommonFlags defines common flags to be reused across tx commands
addTxCmdCommonFlags defines common flags to be reused across tx commands