fix data path

This commit is contained in:
Roy Crihfield 2023-09-19 23:38:14 +08:00
parent 0d908a1e61
commit 7342b23bad

View File

@ -16,7 +16,7 @@ func ChainDataPaths(chain string) (string, string) {
panic("could not get function source path") panic("could not get function source path")
} }
chainPath := filepath.Join(filepath.Dir(thisPath), "..", "chain", chain) chainPath := filepath.Join(filepath.Dir(thisPath), "..", "data", chain)
chaindataPath, err := filepath.Abs(chainPath) chaindataPath, err := filepath.Abs(chainPath)
if err != nil { if err != nil {