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

Fix trade protocol check for refund agent ticket close #4615

Conversation

chimp1984
Copy link
Contributor

When a refund agent closes a case we have checked that the trade protocol is the same between offer and refund agent.

This would fail once we update trade protocol version when we release segwit. So this fixes that as it only checks if the version is not the old version (1) where refund agents have not been part of the system.
Also checks for legacy arbitrator that it only can be used for version 1 cases. Not tested and not assumed that this code will be executed as old arbitrators would use the old app in case they need to still work on a old case.

…ocol is the same between offer and refund agent.

This would fail once we update trade protocol version when we release segwit. So this fixes that as it only checks if the version is not the old version (1) where refund agents have not been part of the system.
Also checks for legacy arbitrator that it only can be used for version 1 cases. Not tested and not assumed that this code will be executed as old arbitrators would use the old app in case they need to still work on a old case.
@chimp1984 chimp1984 closed this Oct 17, 2020
@chimp1984 chimp1984 deleted the fix-trade-protocol-check-at-refund-agent-close branch October 17, 2020 04:42
@chimp1984 chimp1984 restored the fix-trade-protocol-check-at-refund-agent-close branch October 17, 2020 04:43
@chimp1984 chimp1984 reopened this Oct 17, 2020
ripcurlx
ripcurlx previously approved these changes Oct 19, 2020
Copy link
Contributor

@ripcurlx ripcurlx left a comment

Choose a reason for hiding this comment

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

Copy link
Contributor

@ripcurlx ripcurlx left a comment

Choose a reason for hiding this comment

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

utACK

@ripcurlx ripcurlx merged commit 50e2c89 into bisq-network:master Oct 20, 2020
@chimp1984 chimp1984 deleted the fix-trade-protocol-check-at-refund-agent-close branch October 21, 2020 03:38
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.

2 participants