diff --git a/chia/full_node/coin_store.py b/chia/full_node/coin_store.py index 9e22e4a100f7..4bdf119de5d7 100644 --- a/chia/full_node/coin_store.py +++ b/chia/full_node/coin_store.py @@ -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):