fix: gosec issues (#779)

* remove gosec warnigs with medium severity

* Improvement(Ethermint): Fix gosec vulnerabilities

* Improvement(Evmos): address pr comments

* Improvement(Ethermint): Fix flags test by using PersistentFlags() instead of Flags()

* Improvement(Ethermint): Fix return of defer function

* Improvement(Ethermint): Replace PersistentFlags with Flags

* Apply suggestions from code review

* Improvement(Ethermint): Use persisentFlags again and remove required attribute for chain id

Co-authored-by: Federico Kunze Küllmer <31522760+fedekunze@users.noreply.github.com>
This commit is contained in:
Daniel Burckhardt
2021-11-25 15:12:57 +00:00
committed by GitHub
co-authored by Federico Kunze Küllmer
parent 32eaec8d99
commit 2d8be4e85b
9 changed files with 63 additions and 29 deletions
+4 -1
View File
@@ -556,7 +556,10 @@ func startTestnet(cmd *cobra.Command, args startArgs) error {
}
cmd.Println("press the Enter Key to terminate")
fmt.Scanln() // wait for Enter Key
_, err = fmt.Scanln() // wait for Enter Key
if err != nil {
return err
}
testnet.Cleanup()
return nil