Skip to content

Commit

Permalink
Update contracts/src/CrossChainApplications/ERC20Bridge/ERC20Bridge.sol
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Kaplan <[email protected]>
Signed-off-by: minghinmatthewlam <[email protected]>
  • Loading branch information
minghinmatthewlam and michaelkaplan13 authored Oct 18, 2023
1 parent 51f3da9 commit b7c17ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ contract ERC20Bridge is IERC20Bridge, ITeleporterReceiver, ReentrancyGuard {
// so this check is redundant but left in for clarity.
require(
destinationChainID != currentChainID,
"ERC20Bridge: bridging to same chain"
"ERC20Bridge: cannot bridge to same chain"
);

// Allow the Teleporter messenger to spend the fee amount.
Expand Down

0 comments on commit b7c17ab

Please sign in to comment.