Skip to content
This repository was archived by the owner on Oct 1, 2021. It is now read-only.

update error message #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion zaps/beefyUniswapZap.sol
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ contract BeefyUniV2Zap {
require(reserveA > minimumAmount && reserveB > minimumAmount, 'Beefy: Liquidity pair reserves too low');

bool isInputA = pair.token0() == tokenIn;
require(isInputA || pair.token1() == tokenIn, 'Beefy: Input token not present in liqudity pair');
require(isInputA || pair.token1() == tokenIn, 'Beefy: Input token not present in liquidity pair');

address[] memory path = new address[](2);
path[0] = tokenIn;
Expand Down