Skip to content

Commit

Permalink
Merge branch 'v6/develop' into v6/fix/fallback-provider-logger
Browse files Browse the repository at this point in the history
  • Loading branch information
u-hubar authored Nov 8, 2023
2 parents 0a2c679 + 84eb3ee commit d6e5b62
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "origintrail_node",
"version": "6.0.18",
"version": "6.0.19",
"description": "OTNode V6",
"main": "index.js",
"type": "module",
Expand Down
8 changes: 0 additions & 8 deletions src/commands/protocols/common/submit-proofs-command.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,6 @@ class SubmitProofsCommand extends Command {
return Command.empty();
}

if (proof.length === 0) {
const errorMessage = `Error during Merkle Proof calculation for blockchain: ${blockchain} agreement id: ${agreementId}, epoch: ${epoch}, state index: ${stateIndex}, proof cannot be empty`;
this.logger.trace(errorMessage);

await this.handleError(operationId, errorMessage, this.errorType, true);
return Command.empty();
}

const transactionCompletePromise = new Promise((resolve, reject) => {
this.blockchainModuleManager.sendProof(
blockchain,
Expand Down

0 comments on commit d6e5b62

Please sign in to comment.