diff --git a/CHANGELOG.md b/CHANGELOG.md index beb5e31..4d775fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +## [0.0.3] - 2021-07-19 + +### Fixed + +- Fix silo.py not finding the forks.yaml when silo wallet is executed from a different directory than the project. ## [0.0.3] - 2021-07-19 diff --git a/silo.py b/silo.py index e9ba32c..e9f620c 100755 --- a/silo.py +++ b/silo.py @@ -9,7 +9,8 @@ from sqlite3 import Error from pathlib import Path -FORKS_LIST_FILE="forks.yaml" +SILO_ROOT_PATH=Path(__file__).parent +FORKS_LIST_FILE=(SILO_ROOT_PATH / "forks.yaml").resolve() TRILLION=1000000000000 # Full path to blockchain.sqlite: user_home_path//chia_mainnet_blockchain_path