Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pxrl committed Oct 2, 2023
1 parent e0b3b11 commit 1aa856a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/relayer/RelayerConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ export class RelayerConfig extends CommonConfig {
? JSON.parse(SLOW_DEPOSITORS).map((depositor) => ethers.utils.getAddress(depositor))
: [];
this.inventoryConfig = JSON.parse(
RELAYER_INVENTORY_CONFIG.replace(/0x[a-fA-F0-9]{40}/g, ethers.utils.getAddress)
?? "{}"
RELAYER_INVENTORY_CONFIG.replace(/0x[a-fA-F0-9]{40}/g, ethers.utils.getAddress) ?? "{}"
);
this.minRelayerFeePct = toBNWei(MIN_RELAYER_FEE_PCT || Constants.RELAYER_MIN_FEE_PCT);

Expand Down

0 comments on commit 1aa856a

Please sign in to comment.