Skip to content

Commit

Permalink
Add back logging for added coins (#2720)
Browse files Browse the repository at this point in the history
It was removed in commit ee3dfb9 for
unknown reason. A few people on keybase have learned to rely on it to
check for new coins being received by their wallet. Arguably not the
best way to do so but seems like a useful log output to have in general.
  • Loading branch information
martomi authored Apr 26, 2021
1 parent e6f3db4 commit 59de4ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions chia/wallet/wallet_state_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,7 @@ async def coin_added(
"""
Adding coin to DB
"""
self.log.info(f"Adding coin: {coin} at {height}")
farm_reward = False
if coinbase or fee_reward:
farm_reward = True
Expand Down

0 comments on commit 59de4ff

Please sign in to comment.