Skip to content

Commit

Permalink
feat: simplify contract very slightly
Browse files Browse the repository at this point in the history
reednaa committed Jun 3, 2024
1 parent d81d6d8 commit dffd805
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/apps/layerzero/IncentivizedLayerZeroEscrow.sol
Original file line number Diff line number Diff line change
@@ -214,8 +214,7 @@ contract IncentivizedLayerZeroEscrow is IncentivizedMessageEscrow, ExecutorZero
// LayerZero may have migrated to a new receive library. Check the timeout receive library.
(address timeoutULN, ) = ENDPOINT.defaultReceiveLibraryTimeout(srcEid);
if (timeoutULN == address(0)) revert LZ_ULN_Verifying();
ULN = IReceiveUlnBase(timeoutULN);
verifyable = ULN.verifiable(_config, _headerHash, _payloadHash);
verifyable = IReceiveUlnBase(timeoutULN).verifiable(_config, _headerHash, _payloadHash);
if (!verifyable) revert LZ_ULN_Verifying();
}

0 comments on commit dffd805

Please sign in to comment.