Skip to content

Commit

Permalink
run black
Browse files Browse the repository at this point in the history
  • Loading branch information
guanzo committed Jan 13, 2023
1 parent 6b9c0bd commit a5368db
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tinyman/v1/pools.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,11 @@ def convert(self, amount: AssetAmount):
return AssetAmount(self.asset1, int(amount.amount * self.asset2_price))

def fetch_mint_quote(
self, amount_a: AssetAmount, amount_b: AssetAmount = None, slippage=0.05, refresh=True
self,
amount_a: AssetAmount,
amount_b: AssetAmount = None,
slippage=0.05,
refresh=True,
):
amount1 = amount_a if amount_a.asset == self.asset1 else amount_b
amount2 = amount_a if amount_a.asset == self.asset2 else amount_b
Expand Down

0 comments on commit a5368db

Please sign in to comment.