Skip to content

Commit

Permalink
fix linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
soad003 committed Dec 15, 2023
1 parent 4866f8c commit dfdf563
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions gsrest/db/cassandra.py
Original file line number Diff line number Diff line change
Expand Up @@ -468,8 +468,9 @@ def execute_async_lowlevel(self,
loop = asyncio.get_event_loop()
future = loop.create_future()

h = hash(q + str(params))
# self.logger.debug(f'{h} {q} {params}')
# h = hash(q + str(params))

# qself.logger.debug(f'{h} {q} {params}')

def on_done(result):
if future.cancelled():
Expand Down Expand Up @@ -2117,10 +2118,6 @@ async def list_txs_by_node_type_eth(self,

return results, paging_state

# async def list_txs_by_node_type_trx(self, currency, node_type, address, *args, **kwargs):
# results, paging_state = await self.list_txs_by_node_type_eth(currency, node_type, address, *args, **kwargs)
# return [r for r in results if r["to_address"] == address or r["from_address"] == address], paging_state

async def list_txs_by_ids_eth(self,
currency,
ids,
Expand Down

0 comments on commit dfdf563

Please sign in to comment.