You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If agent’s config contains version 0.1, then AuthorAgreement contains version 2.0 which seems correct because text attribute contains “Transaction Author Agreement V2“ but AcceptanceMechanisms contains version 0.1. This fails with CommonInvalidStructure error, respective with “Calculated hash of concatenation version and text doesn't equal to passed hash value.” thrown by Indy SDK function prepare_acceptance_data to which we pass authorAgreement.text and authorAgreement.digest gotten from ledger and taa.version from our agent config.
If agent’s config contains version 2.0 AFJ throws an error because of condition authorAgreement.acceptanceMechanisms.version !== taa.version and AcceptanceMechanisms containing version 0.1.
The text was updated successfully, but these errors were encountered:
If agent’s config contains
version
0.1, thenAuthorAgreement
containsversion
2.0 which seems correct becausetext
attribute contains “Transaction Author Agreement V2“ butAcceptanceMechanisms
containsversion
0.1. This fails withCommonInvalidStructure
error, respective with “Calculated hash of concatenationversion
andtext
doesn't equal to passedhash
value.” thrown by Indy SDK functionprepare_acceptance_data
to which we passauthorAgreement.text
andauthorAgreement.digest
gotten from ledger andtaa.version
from our agent config.If agent’s config contains version 2.0 AFJ throws an error because of condition
authorAgreement.acceptanceMechanisms.version !== taa.version
andAcceptanceMechanisms
containingversion
0.1.The text was updated successfully, but these errors were encountered: