Skip to content

Commit

Permalink
fix err msg
Browse files Browse the repository at this point in the history
  • Loading branch information
volodymyr-basiuk committed Oct 5, 2023
1 parent 9e7b6b9 commit 5e86c99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storage/blockchain/onchain-zkp-verifier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class OnChainZKPVerifier implements IOnChainZKPVerifier {
throw new Error(`config for chain id ${txData.chain_id} was not found`);
}
if (txData.method_id.replace('0x', '') !== 'b68967e2') {
throw new Error(`sumbit doesn't implement requested method id`);
throw new Error(`submit doesn't implement requested method id. Only '0xb68967e2' is supported.`);
}
const provider = new ethers.providers.JsonRpcProvider(chainConfig);
const verifierContract: ethers.Contract = new ethers.Contract(
Expand Down

0 comments on commit 5e86c99

Please sign in to comment.