martomi / chiadog

A watch dog providing a peace in mind that your Chia farm is running smoothly 24/7.
MIT License
457 stars 120 forks source link

Wallet events are not parsed correctly #120

Closed skweee closed 3 years ago

skweee commented 3 years ago

With the current 0.5.0 update, wallet events are introduced again. However, after sending myself some mojos using the Chia faucet (https://faucet.chia.net/), I never got any notification.

I checked the contents of debug.log and the amount is no longer quoted, which causes the parser to miss it.

PR #119 fixes the issue.

skweee commented 3 years ago

Example log using chia 1.1.5: 2021-05-14T09:58:05.705 wallet chia.wallet.wallet_state_manager: INFO Adding coin: {'amount': 100, 'parent_coin_info': '0x<shortened>', 'puzzle_hash': '0x<shortened>'} at XXXXX

skweee commented 3 years ago

Fixed with #119. Thanks for the review @martomi!