Skip to content

Commit

Permalink
Merge pull request #27 from priyankub/main
Browse files Browse the repository at this point in the history
Add mojo conversion exception for Achi
  • Loading branch information
guydavis authored Feb 21, 2024
2 parents 4d6da67 + 52a095b commit 411c56b
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 411c56b

Please sign in to comment.