mirror of
https://github.com/basicswap/basicswap.git
synced 2025-01-22 10:34:34 +00:00
Fix lockup when bids timeout.
This commit is contained in:
parent
ad7d23a8de
commit
80852fd0ea
1 changed files with 1 additions and 1 deletions
|
@ -3165,7 +3165,7 @@ class BasicSwap(BaseApp):
|
||||||
|
|
||||||
def timeoutBid(self, bid_id: bytes, session_in=None) -> None:
|
def timeoutBid(self, bid_id: bytes, session_in=None) -> None:
|
||||||
self.log.info('Bid %s timed-out', bid_id.hex())
|
self.log.info('Bid %s timed-out', bid_id.hex())
|
||||||
self.deactivateBidForReason(bid_id, BidStates.SWAP_TIMEDOUT)
|
self.deactivateBidForReason(bid_id, BidStates.SWAP_TIMEDOUT, session_in=session_in)
|
||||||
|
|
||||||
def setBidError(self, bid_id: bytes, bid, error_str: str, save_bid: bool = True, xmr_swap=None) -> None:
|
def setBidError(self, bid_id: bytes, bid, error_str: str, save_bid: bool = True, xmr_swap=None) -> None:
|
||||||
self.log.error('Bid %s - Error: %s', bid_id.hex(), error_str)
|
self.log.error('Bid %s - Error: %s', bid_id.hex(), error_str)
|
||||||
|
|
Loading…
Reference in a new issue