From b7c17abd23ba5ae970971782cb6d049b00d81f6c Mon Sep 17 00:00:00 2001 From: minghinmatthewlam Date: Wed, 18 Oct 2023 13:55:22 -0700 Subject: [PATCH] Update contracts/src/CrossChainApplications/ERC20Bridge/ERC20Bridge.sol Co-authored-by: Michael Kaplan <55204436+michaelkaplan13@users.noreply.github.com> Signed-off-by: minghinmatthewlam --- .../src/CrossChainApplications/ERC20Bridge/ERC20Bridge.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/src/CrossChainApplications/ERC20Bridge/ERC20Bridge.sol b/contracts/src/CrossChainApplications/ERC20Bridge/ERC20Bridge.sol index ba5f06a60..2509a3bf5 100644 --- a/contracts/src/CrossChainApplications/ERC20Bridge/ERC20Bridge.sol +++ b/contracts/src/CrossChainApplications/ERC20Bridge/ERC20Bridge.sol @@ -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.