Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
altendky committed Jan 24, 2025
1 parent e403fb0 commit ca8ce10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chia/data_layer/data_store.py
Original file line number Diff line number Diff line change
@@ -425,9 +425,9 @@ async def get_kvid(self, blob: bytes, store_id: bytes32) -> Optional[KeyOrValueI
if row is None:
return None

return KeyId(row[0])
return KeyOrValueId(row[0])

async def get_blob_from_kvid(self, kv_id: Union[KeyId, ValueId], store_id: bytes32) -> Optional[bytes]:
async def get_blob_from_kvid(self, kv_id: KeyOrValueId, store_id: bytes32) -> Optional[bytes]:
async with self.db_wrapper.reader() as reader:
cursor = await reader.execute(
"SELECT blob FROM ids WHERE kv_id = ? AND store_id = ?",

0 comments on commit ca8ce10

Please sign in to comment.