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

SHARD-1197: Refactor calculateAppReceiptDataHash #114

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

S0naliThakur
Copy link
Member

Linear: https://linear.app/shm/issue/SHARD-1197/flaw-in-calculateappreceiptdatahash
Summary: Refactor app receipt data validation and hash calculation

  • Introduced a new function validateAppReceiptData to handle validation of app receipt data, improving code clarity and separation of concerns.
  • Updated the calculateAppReceiptDataHash function to focus solely on hash calculation.
  • Enhanced error handling in both validation and hash calculation processes.
  • Removed unnecessary copying of app receipt data during hash calculation.

…lculateAppReceiptDataHash`, improve error handling, and remove data copying.
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