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

Implement sign and signature verification on ProofOfAttendance #366

Merged
merged 8 commits into from
Feb 20, 2024

Conversation

clangenb
Copy link
Member

@clangenb clangenb commented Jan 18, 2024

I just implemented this because I wanted to verify my dart proof of attendances in a simple unit test here. (Hint: dart already correctly signs proof of attendances ;))

Comment on lines -229 to -232
impl<Signature, AccountId: Clone + Encode> ProofOfAttendance<Signature, AccountId> {
/// get the hash of the proof without the attendee signature,
/// as the signature is non-deterministic.
pub fn hash(&self) -> H256 {
Copy link
Member Author

Choose a reason for hiding this comment

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

I removed this, as it was unused.

@clangenb clangenb changed the title Implement sign on proove of attendance Implement sign and signature verification on ProofOfAttendance Jan 18, 2024
@clangenb clangenb requested a review from brenzi January 18, 2024 20:41
@clangenb clangenb merged commit ad8cc43 into master Feb 20, 2024
6 checks passed
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