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

libraries: darkpool: WalletOperations: Check wallet update signature #51

Merged
merged 2 commits into from
Mar 4, 2025

Conversation

joeykraut
Copy link
Member

Purpose

This PR adds helpers to check the new wallet's commitment signature, and uses these helpers in the updateWallet method. The signature is checked against the previous wallet's public root key.

Testing

  • Unit tests pass
  • Added a test for an invalid signature, and updated the test_updateWallet_validUpdate method to use a valid signature.

@joeykraut joeykraut merged commit a0082e5 into main Mar 4, 2025
0 of 2 checks passed
@joeykraut joeykraut deleted the joey/wallet-update branch March 4, 2025 23:44
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.

1 participant