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
Copy file name to clipboardExpand all lines: src/commands/protocols/publish/publish-finalization-command.js
+17-26Lines changed: 17 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -182,45 +182,36 @@ class PublishFinalizationCommand extends Command {
182
182
assertion,
183
183
ual,
184
184
){
185
-
try{
186
-
if(merkleRoot!==cachedMerkleRoot){
187
-
consterrorMessage=`Invalid Merkle Root for Knowledge Collection: ${ual}. Received value from blockchain: ${merkleRoot}, Cached value from publish operation: ${cachedMerkleRoot}`;
consterrorMessage=`Invalid Merkle Root for Knowledge Collection: ${ual}. Received value from blockchain: ${merkleRoot}, Cached value from publish operation: ${cachedMerkleRoot}`;
consterrorMessage=`Invalid Assertion Size for Knowledge Collection: ${ual}. Received value from blockchain: ${byteSize}, Calculated value: ${calculatedAssertionSize}`;
consterrorMessage=`Invalid Assertion Size for Knowledge Collection: ${ual}. Received value from blockchain: ${byteSize}, Calculated value: ${calculatedAssertionSize}`;
0 commit comments