Skip to content

Commit

Permalink
fix: always format l1destination address
Browse files Browse the repository at this point in the history
  • Loading branch information
Sekhmet committed Oct 25, 2024
1 parent 4ca73eb commit 64e46a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/api/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,10 @@ export async function handleExecutionStrategy(
const [l1Destination] = payload;
if (!l1Destination)
throw new Error('Invalid payload for EthRelayer execution strategy');
destinationAddress = l1Destination;
destinationAddress = formatAddress('Ethereum', l1Destination);

const SimpleQuorumExecutionStrategyContract = new EthContract(
l1Destination,
destinationAddress,
SimpleQuorumExecutionStrategyAbi,
ethProvider
);
Expand Down

0 comments on commit 64e46a0

Please sign in to comment.