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(tlsn-formats): prevent duplicate json array commitment #432

Merged
merged 1 commit into from
Feb 12, 2024

Conversation

sinui0
Copy link
Member

@sinui0 sinui0 commented Feb 9, 2024

This PR fixes the default JSON committer to check if an array is empty prior to trying to commit to the values. Otherwise it causes a duplicate commitment error.

@sinui0 sinui0 merged commit 82b9582 into dev Feb 12, 2024
15 checks passed
@sinui0 sinui0 deleted the fix/json-commit-array branch February 12, 2024 18:39
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.

3 participants