diff --git a/uniswap/uniswap.py b/uniswap/uniswap.py index dfc1c4ed..3b82b3b4 100644 --- a/uniswap/uniswap.py +++ b/uniswap/uniswap.py @@ -507,7 +507,7 @@ def make_trade_output( if input_token == ETH_ADDRESS: balance = self.get_eth_balance() - need = self._get_eth_token_output_price(output_token, qty) + need = self._get_eth_token_output_price(output_token, qty, fee) if balance < need: raise InsufficientBalance(balance, need) return self._eth_to_token_swap_output(