Skip to content

Commit

Permalink
✅ Unit Test
Browse files Browse the repository at this point in the history
  • Loading branch information
mraniki committed Jul 14, 2024
1 parent ab9c192 commit 8ea17fa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dxsp/handler/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ def __init__(self, **kwargs):
self.mapping = get("mapping", None)
self.is_pnl_active = get("is_pnl_active", False)
self.rotki_report_endpoint = get("rotki_report_endpoint", None)
self.client = None
if self.rpc:
try:
self.w3 = Web3(Web3.HTTPProvider(self.rpc))
Expand Down Expand Up @@ -144,8 +145,6 @@ def __init__(self, **kwargs):
else:
self.account_number = None

self.client = None

async def resolve_token(self, **kwargs):
"""
A function to resolve a token based on the input address or symbol.
Expand Down

0 comments on commit 8ea17fa

Please sign in to comment.