From 7342b23bad6285a13678487709cb1c90d2e70c5e Mon Sep 17 00:00:00 2001 From: Roy Crihfield Date: Tue, 19 Sep 2023 23:38:14 +0800 Subject: [PATCH] fix data path --- chaindata/util/chaindata.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chaindata/util/chaindata.go b/chaindata/util/chaindata.go index 011b983..c4ebfa8 100644 --- a/chaindata/util/chaindata.go +++ b/chaindata/util/chaindata.go @@ -16,7 +16,7 @@ func ChainDataPaths(chain string) (string, string) { 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) if err != nil {