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

added the step of validating the adaptor signature #33

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ChrisSon15
Copy link

The atomic swap was missing the step of validating the adaptor signature. IMHO, This should be added as otherwise it would be misleading to readers who seek education on this subject. I saw the warning sign, but I think, if you describing in a high level, then at least the high level would have all required steps. Also I made it a bit clearer that there is a second adaptor signature for the swap. Please consider reviewing.

+ mentined the 2nd adaptor necessary for swaps.
Copy link
Collaborator

@jonasnick jonasnick left a comment

Choose a reason for hiding this comment

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

Hi @ChrisSon15, I agree it makes sense to mention the adaptor signature verification step explicitly. However, I'm not sure about your proposed changes. I think the original proposal for atomic swaps used only a single adaptor signature.

… the 2 changes (an discuss seperately). So now it PR only has the change the B verifies the adaptor signature
@ChrisSon15
Copy link
Author

Hi @jonasnick , Sorry for combining 2 changes into one. To separate them I changed this PR to only add the adaptor signature verification step explicitly. As for the need of 2 adaptor signatures for s swap I may put it into another issue.

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