lnp2pBot / bot

Peer-to-peer lightning network telegram bot
MIT License
202 stars 102 forks source link

When two users open a cooperative cancellation at the same time, the order is not cancelled #583

Open Catrya opened 2 weeks ago

Catrya commented 2 weeks ago

If both users of an order give /cancel order-id at the same time or within a few seconds, the bot keeps the order in Active status and does not cancel the order If they try to cancel again, the bot will reply: 🕒 You have already made this operation, you must wait for the other party to take action In the database, buyer_cooperativecancel and seller_cooperativecancel will be set to true, but the order will not change to status cancelled