diff --git a/.gitignore b/.gitignore index b3539aa..6ee87d8 100644 --- a/.gitignore +++ b/.gitignore @@ -17,6 +17,6 @@ cache/ build/ dist/ hsd/ -hsd-data/ +hsd_data/ hsd.lock hsdconfig.json diff --git a/Dockerfile.hsd b/Dockerfile.hsd index 9458aec..93b8cd1 100644 --- a/Dockerfile.hsd +++ b/Dockerfile.hsd @@ -50,7 +50,7 @@ LABEL org.opencontainers.image.title="FireWallet (HSD)" \ -VOLUME ["/app/hsd-data", "/app/user_data"] +VOLUME ["/app/hsd_data", "/app/user_data"] ENTRYPOINT ["python3"] diff --git a/account.py b/account.py index 05d160a..05b67a9 100644 --- a/account.py +++ b/account.py @@ -1900,7 +1900,7 @@ def hsdStart(): chain_migrate = HSD_CONFIG.get("chainMigrate", False) wallet_migrate = HSD_CONFIG.get("walletMigrate", False) spv = HSD_CONFIG.get("spv", False) - prefix = HSD_CONFIG.get("prefix", os.path.join(os.getcwd(), "hsd-data")) + prefix = HSD_CONFIG.get("prefix", os.path.join(os.getcwd(), "hsd_data")) # Base command @@ -1976,7 +1976,6 @@ def hsdRestart(): time.sleep(2) hsdStart() - hsdInit() hsdStart() # endregion \ No newline at end of file diff --git a/docker-compose-internal.yml b/docker-compose-internal.yml index 9dafcd5..1af03d7 100644 --- a/docker-compose-internal.yml +++ b/docker-compose-internal.yml @@ -4,10 +4,8 @@ services: ports: - "5000:5000" volumes: - - hsd_data:/app/hsd-data + - hsd_data:/app/hsd_data - user_data:/app/user_data - environment: - - INTERNAL_HSD=true volumes: hsd_data: