Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4ff55e9

Browse files
committed
fix: removed unreachable statements
1 parent9db8ba4 commit4ff55e9

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

‎uniswap/uniswap.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -667,9 +667,6 @@ def _token_to_token_swap_input(
667667
function=token_funcs.tokenToTokenTransferInput(*func_params)
668668
returnself._build_and_send_tx(function)
669669
elifself.version==2:
670-
ifrecipientisNone:
671-
recipient=self.address
672-
673670
min_tokens_bought=int(
674671
(1-slippage)
675672
*self._get_token_token_input_price(
@@ -692,9 +689,6 @@ def _token_to_token_swap_input(
692689
),
693690
)
694691
elifself.version==3:
695-
ifrecipientisNone:
696-
recipient=self.address
697-
698692
iffee_on_transfer:
699693
raiseException("fee on transfer not supported by Uniswap v3")
700694

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp