diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ce6b78..7b3c112 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +## [0.7.3] - 2022-08-26 + +### Fixed +- Fixed wallet parser for Chia v1.5.1+ - thanks [@djerfy](https://github.com/djerfy)! + ## [0.7.2] - 2022-07-04 ### Fixed diff --git a/VERSION b/VERSION index dd1a3ee..256ca2b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.7.2+dev \ No newline at end of file +0.7.3+dev \ No newline at end of file diff --git a/src/chia_log/parsers/wallet_added_coin_parser.py b/src/chia_log/parsers/wallet_added_coin_parser.py index 547285a..925654f 100644 --- a/src/chia_log/parsers/wallet_added_coin_parser.py +++ b/src/chia_log/parsers/wallet_added_coin_parser.py @@ -27,7 +27,7 @@ def __init__(self, config: Optional[dict] = None): self._prefix = config['prefix'] self._regex = re.compile( r"([0-9:.]*) wallet (?:src|" + self._prefix + ").wallet.wallet_state_manager(?:\s?): " - r"INFO\s*Adding.*coin: {'amount': ([0-9]*)," + r"INFO\s*Adding.*coin:.*'?amount'?: ([0-9]*)" ) def parse(self, logs: str) -> List[WalletAddedCoinMessage]: