Skip to content

Commit

Permalink
remove redundant condition (#11582)
Browse files Browse the repository at this point in the history
  • Loading branch information
neurosis69 authored May 23, 2022
1 parent dfcbb3f commit 00c1f85
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions chia/full_node/coin_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,6 @@ async def get_coin_records(self, names: List[bytes32]) -> List[CoinRecord]:

coins: List[CoinRecord] = []

if len(names) == 0:
return coins

async with self.db_wrapper.read_db() as conn:
cursors: List[Cursor] = []
for names_chunk in chunks(names, MAX_SQLITE_PARAMETERS):
Expand Down

0 comments on commit 00c1f85

Please sign in to comment.