Fix bug when manually redeeming noscript lock tx with invalid amount.

This commit is contained in:
tecnovert committed 2021-12-31 21:49:12 +02:00
1 parent efb0b08ac9
commit 65951220b8
6 files changed
+26 -15

No files matched your search

+2 -1
View File
@@ -33,7 +33,8 @@ def addLockRefundSigs(self, xmr_swap, ci):
def recoverNoScriptTxnWithKey(self, bid_id, encoded_key):
# Manually recover txn if other key is known
self.log.info('Manually recovering %s', bid_id.hex())
# Manually recover txn if other key is known
session = scoped_session(self.session_factory)
try:
bid, xmr_swap = self.getXmrBidFromSession(session, bid_id)