Code cleanup from emmanuel

This commit is contained in:
Ethan Frey
2017-07-27 15:31:34 -04:00
parent ea8bdd3f92
commit 2b79aa0413
12 changed files with 93 additions and 38 deletions
+4 -1
View File
@@ -55,11 +55,14 @@ func init() {
func startCmd(cmd *cobra.Command, args []string) error {
rootDir := viper.GetString(cli.HomeFlag)
store := app.NewStore(
store, err := app.NewStore(
path.Join(rootDir, "data", "merkleeyes.db"),
EyesCacheSize,
logger.With("module", "store"),
)
if err != nil {
return err
}
// Create Basecoin app
basecoinApp := app.NewBasecoin(Handler, store, logger.With("module", "app"))