mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-06 02:38:11 +01:00
ui: Hide the bid abandon button.
This commit is contained in:
@@ -2749,6 +2749,9 @@ class BasicSwap(BaseApp):
|
||||
self.closeSession(session)
|
||||
|
||||
def abandonBid(self, bid_id: bytes) -> None:
|
||||
if not self.debug:
|
||||
self.log.error('Can\'t abandon bid %s when not in debug mode.', bid_id.hex())
|
||||
return
|
||||
self.log.info('Abandoning Bid %s', bid_id.hex())
|
||||
self.deactivateBidForReason(bid_id, BidStates.BID_ABANDONED)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user