Skip to content

Commit

Permalink
Fix assertionSize validation
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihajlo-Pavlovic committed Dec 24, 2024
1 parent 7967d08 commit 3219cc3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class ValidateAssertionMetadataCommand extends Command {
assertion.public ?? assertion,
);

if (byteSize !== calculatedAssertionSize) {
if (byteSize.toString() !== calculatedAssertionSize.toString()) {
await this.handleError(
operationId,
blockchain,
Expand Down

0 comments on commit 3219cc3

Please sign in to comment.