Skip to content

Commit

Permalink
Update src/dataworker/Dataworker.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Paul <[email protected]>
  • Loading branch information
nicholaspai and pxrl authored Sep 28, 2023
1 parent d56c7c2 commit a5b8324
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dataworker/Dataworker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1144,7 +1144,7 @@ export class Dataworker {

// Bundles that need to be validated with older code should emit helpful error logs about which code to run.
// @dev only throw this error if the hub chain ID is 1, suggesting we're running on production.
if (hubPoolChainId === 1 && versionAtProposalBlock <= sdk.constants.TRANSFER_THRESHOLD_MAX_CONFIG_STORE_VERSION) {
if (versionAtProposalBlock <= sdk.constants.TRANSFER_THRESHOLD_MAX_CONFIG_STORE_VERSION && hubPoolChainId === 1) {
throw new Error(
"Must use relayer-v2 code at commit 412ddc30af72c2ac78f9e4c8dccfccfd0eb478ab to validate a bundle with transferThreshold set"
);
Expand Down

0 comments on commit a5b8324

Please sign in to comment.