Cleaned up logger on constructors in App, State

This commit is contained in:
Ethan Frey
2017-07-03 16:54:47 +02:00
parent d0a2041c89
commit ef0ab758ed
9 changed files with 21 additions and 35 deletions
+1 -2
View File
@@ -66,8 +66,7 @@ func startCmd(cmd *cobra.Command, args []string) error {
}
// Create Basecoin app
basecoinApp := app.NewBasecoin(eyesCli)
basecoinApp.SetLogger(logger.With("module", "app"))
basecoinApp := app.NewBasecoin(eyesCli, logger.With("module", "app"))
// register IBC plugn
// basecoinApp.RegisterPlugin(NewIBCPlugin())