async def get_interested_puzzle_hash_wallet_id(self, puzzle_hash: bytes32) -> Optional[int]:
    cursor = (await self.db_connection.execute('SELECT wallet_id FROM interested_puzzle_hashes WHERE puzzle_hash=?', (puzzle_hash.hex(),)))
    row = (await cursor.fetchone())
    if (row is None):
        return None
    return row[0]
async def get_interested_puzzle_hash_wallet_id(self, puzzle_hash: bytes32) -> Optional[int]:
    cursor = (await self.db_connection.execute('SELECT wallet_id FROM interested_puzzle_hashes WHERE puzzle_hash=?', (puzzle_hash.hex(),)))
    row = (await cursor.fetchone())
    if (row is None):
        return None
    return row[0]