Skip to content

Commit

Permalink
fix & lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pxrl committed Oct 10, 2023
1 parent ed68f81 commit acd552d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/relayer/Relayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,7 @@ export class Relayer {
// We need to build in better simulation logic for deposits with non-empty messages. Currently we only measure
// the fill's gas cost against a simple USDC fill with message=0x. This doesn't handle the case where the
// message is != 0x and it ends up costing a lot of gas to execute, resulting in a big loss to the relayer.
if (
deposit[isDepositSpedUp(deposit) ? "updatedMessage" : "message") !== "0x"
) {
if (deposit[isDepositSpedUp(deposit) ? "updatedMessage" : "message"] !== "0x") {
this.logger.warn({
at: "Relayer",
message: "Skipping fill for deposit with message",
Expand Down

0 comments on commit acd552d

Please sign in to comment.