leave inputs for rejected tx reserved
This commit is contained in:
parent
5de944146a
commit
17f76c9cb3
1 changed files with 3 additions and 0 deletions
|
@ -302,6 +302,9 @@ class WalletManager:
|
|||
await self.ledger.broadcast(tx)
|
||||
if blocking:
|
||||
await self.ledger.wait(tx, timeout=None)
|
||||
except CodeMessageError as err:
|
||||
log.warning("transaction rejected, leaving reserved")
|
||||
raise
|
||||
except:
|
||||
await self.ledger.release_tx(tx)
|
||||
raise
|
||||
|
|
Loading…
Reference in a new issue