Skip to content

Commit

Permalink
Update xyswap.py
Browse files Browse the repository at this point in the history
- remove print functions lol
  • Loading branch information
czbag committed Sep 14, 2023
1 parent d14187a commit e02ee49
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions modules/xyswap.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,6 @@ def swap(
try:
quote = self.get_quote(from_token, to_token, amount_wei, slippage)

print(quote)

swap_provider = quote["routes"][0]["srcSwapDescription"]["provider"]

transaction_data = self.build_transaction(
Expand All @@ -106,8 +104,6 @@ def swap(
swap_provider
)

print(transaction_data)

if from_token != "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE":
self.approve(amount_wei, from_token, XYSWAP_CONTRACT["router"])

Expand Down

0 comments on commit e02ee49

Please sign in to comment.