Skip to content

Commit

Permalink
Merge pull request #1 from priyankub/dev
Browse files Browse the repository at this point in the history
Add mojo exception for Achi
  • Loading branch information
priyankub authored Feb 8, 2024
2 parents 18acc31 + 764b6aa commit 52a095b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/chia_log/parsers/wallet_added_coin_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ def parse(self, logs: str) -> List[WalletAddedCoinMessage]:
mojos = mojos * 1000000000
elif self._prefix == 'stai':
mojos = mojos * 1000
elif self._prefix == 'achi':
mojos = mojos * 1000
logging.info("{0} received {1} at {2}".format(self._prefix, mojos, match[0]))
parsed_messages.append(
WalletAddedCoinMessage(
Expand Down

0 comments on commit 52a095b

Please sign in to comment.