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

This commit is contained in:
tecnovert
2021-12-31 21:34:00 +02:00
parent efb0b08ac9
commit 65951220b8
6 changed files with 26 additions and 15 deletions

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)