Skip to content

Commit

Permalink
add return after storing failed
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Lam committed Oct 26, 2023
1 parent b5c2bca commit 4d2c0af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contracts/src/Teleporter/TeleporterMessenger.sol
Original file line number Diff line number Diff line change
Expand Up @@ -752,6 +752,7 @@ contract TeleporterMessenger is ITeleporterMessenger, ReentrancyGuards {
// provided enough gas to meet the required gas limit.
if (!success) {
_storeFailedMessageExecution(originChainID, message);
return;
}

emit MessageExecuted(originChainID, message.messageID);
Expand Down

0 comments on commit 4d2c0af

Please sign in to comment.