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: remove verifier clones #29

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

AaronFeickert
Copy link
Collaborator

Currently, the single-proof verifier clones the provided statement and proof references before passing them to the batch verifier as trivial slices.

This PR uses slice::from_ref to produce the required slices without cloning or copying.

@AaronFeickert AaronFeickert merged commit 3f1c31a into tari-project:main Jan 10, 2024
6 checks passed
@AaronFeickert AaronFeickert deleted the avoid-verify-clones branch January 10, 2024 21:02
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