Commit e890afb8 authored by Moody Salem's avatar Moody Salem

fix bug just accidentally introduced

parent 631bf996
......@@ -36,7 +36,8 @@ export class Route {
'INPUT'
)
invariant(
(output?.isToken && pairs[pairs.length - 1].involvesToken(output)) ||
typeof output === 'undefined' ||
(output?.isToken && pairs[pairs.length - 1].involvesToken(output)) ||
(output === ETHER && weth && pairs[pairs.length - 1].involvesToken(weth)),
'OUTPUT'
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment