mirror of
https://github.com/aljazceru/python-teos.git
synced 2025-12-17 14:14:22 +01:00
Cleans comments + added method in generic exceptions
tx rejection comments moved to #37
This commit is contained in:
@@ -30,7 +30,7 @@ def check_tx_in_chain(tx_id, logger=Logger(), tx_label='Transaction'):
|
||||
|
||||
else:
|
||||
# ToDO: Unhandled errors, check this properly
|
||||
logger.error("JSONRPCException.", error_code=e)
|
||||
logger.error("JSONRPCException.", method='tools.check_tx_in_chain', error_code=e)
|
||||
|
||||
return tx_in_chain, confirmations
|
||||
|
||||
|
||||
Reference in New Issue
Block a user