From 422f0036fec13f24aa5f04c98206f0f595b58311 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 {