Commit de5ce682 authored by vicotor's avatar vicotor

fix compile error

parent 55403625
...@@ -39,7 +39,7 @@ var rootCmd = &cobra.Command{ ...@@ -39,7 +39,7 @@ var rootCmd = &cobra.Command{
} }
chainRepo := chainlist.New(conf.ChainListFile) chainRepo := chainlist.New(conf.ChainListFile)
tokenRepo := tokenrepo.NewTokenRepo() tokenRepo := tokenrepo.NewTokenRepo(chainRepo)
d, err := dao.New(conf, chainRepo, tokenRepo) d, err := dao.New(conf, chainRepo, tokenRepo)
if err != nil { if err != nil {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment