Skip to content

Commit

Permalink
Use elif
Browse files Browse the repository at this point in the history
  • Loading branch information
izyak committed Dec 21, 2021
1 parent d623330 commit 67f6b16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion score/priceOracle/priceOracle.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def getOMMPool(self) -> str:
def _get_price(self, _base: str, _quote) -> int:
if _base in STABLE_TOKENS:
return 1 * 10 ** 18
if _base == "BALN":
elif _base == "BALN":
dex = self.create_interface_score(self.getAddress(DEX), DataSourceInterface)
return dex.getBalnPrice()
else:
Expand Down

0 comments on commit 67f6b16

Please sign in to comment.