Skip to content

Commit

Permalink
Fix silo.py not finding the forks.yaml when silo wallet is executed f…
Browse files Browse the repository at this point in the history
…rom a different directory than the project.
  • Loading branch information
Alex G committed Jul 20, 2021
1 parent 561754b commit 42608d5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 2 additions & 1 deletion silo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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/<coin data dir>/chia_mainnet_blockchain_path
Expand Down

0 comments on commit 42608d5

Please sign in to comment.