fix a failure for channels where we catch the wrong error

This commit is contained in:
Victor Shyba 2018-07-15 17:41:52 -03:00
parent 97532fb300
commit 686eb7b1f0

View file

@ -299,9 +299,9 @@ class BaseLedger(six.with_metaclass(LedgerRegistry)):
)) ))
self._on_transaction_controller.add(TransactionEvent(address, tx, remote_height, is_verified)) self._on_transaction_controller.add(TransactionEvent(address, tx, remote_height, is_verified))
except: except Exception as e:
log.exception('Failed to synchronize transaction:') log.exception('Failed to synchronize transaction:')
raise raise e
finally: finally:
lock.release() lock.release()