Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chia 1.5.1 log changes #20

Merged
merged 1 commit into from
Sep 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.7.2+dev
0.7.3+dev
2 changes: 1 addition & 1 deletion src/chia_log/parsers/wallet_added_coin_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]:
Expand Down