diff --git a/contracts/pangolin-periphery/PangolinBridgeMigrationRouter.sol b/contracts/pangolin-periphery/PangolinBridgeMigrationRouter.sol index d4b0d64b..146ee87a 100644 --- a/contracts/pangolin-periphery/PangolinBridgeMigrationRouter.sol +++ b/contracts/pangolin-periphery/PangolinBridgeMigrationRouter.sol @@ -144,7 +144,7 @@ contract PangolinBridgeMigrationRouter { */ function _arePairsCompatible(address pairA, address pairB) internal view { require(pairA != address(0), "PangolinBridgeMigrationRouter: liquidityPairFrom address 0"); - require(pairA != address(0), "PangolinBridgeMigrationRouter: liquidityPairTo address 0"); + require(pairB != address(0), "PangolinBridgeMigrationRouter: liquidityPairTo address 0"); require(pairA != pairB, "PangolinBridgeMigrationRouter: Cant convert to the same liquidity pairs"); require( IPangolinPair(pairA).token0() == IPangolinPair(pairB).token0() || @@ -356,4 +356,4 @@ contract PangolinBridgeMigrationRouter { amount1 = amountIn1 - quote1; } -} \ No newline at end of file +}