Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only remove offer locally when necessary #4651

Merged

Conversation

ripcurlx
Copy link
Contributor

Based on @stejbac findings an offer shouldn't be removed locally when the trade is cancelled before any fees were paid.
Currently this causes following warning messages when cancelling the taking of an offer.
Screenshot from 2020-10-14 18-49-59

Copy link
Member

@sqrrm sqrrm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@sqrrm sqrrm merged commit 101c172 into bisq-network:release/v1.4.0 Oct 15, 2020
@stejbac
Copy link
Contributor

stejbac commented Oct 15, 2020

I just did a quick test on regtest. The error has now gone upon cancelling on the first step and cancelling immediately on the second step. However, if the taker goes on to fund the trade from their Bisq wallet and then cancels, the error appears again after dismissing the two warning dialog boxes about having already funded the offer.

I think one or more of the remaining offer() calls should be offer(false) calls.

@ripcurlx ripcurlx deleted the keep-offer-when-canceling branch July 16, 2021 07:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants