From 764b6aae0ed0a93eed9ac68165bc4b92228693a0 Mon Sep 17 00:00:00 2001 From: priyanku89 Date: Wed, 15 Mar 2023 22:46:00 -0400 Subject: [PATCH] Add mojo exception for Achi --- src/chia_log/parsers/wallet_added_coin_parser.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/chia_log/parsers/wallet_added_coin_parser.py b/src/chia_log/parsers/wallet_added_coin_parser.py index 6da8875..a1f7f0a 100644 --- a/src/chia_log/parsers/wallet_added_coin_parser.py +++ b/src/chia_log/parsers/wallet_added_coin_parser.py @@ -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(