diff --git a/src/commands/protocols/common/validate-assertion-metadata-command.js b/src/commands/protocols/common/validate-assertion-metadata-command.js index 181330111..2c7787cbb 100644 --- a/src/commands/protocols/common/validate-assertion-metadata-command.js +++ b/src/commands/protocols/common/validate-assertion-metadata-command.js @@ -33,7 +33,7 @@ class ValidateAssertionMetadataCommand extends Command { assertion.public ?? assertion, ); - if (byteSize !== calculatedAssertionSize) { + if (byteSize.toString() !== calculatedAssertionSize.toString()) { await this.handleError( operationId, blockchain,