Cleans comments + added method in generic exceptions

tx rejection comments moved to #37
This commit is contained in:
Sergi Delgado Segura
2019-10-10 16:22:46 +01:00
parent 6b058dfaf9
commit 15c78072c9
2 changed files with 9 additions and 18 deletions

View File

@@ -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