Skip to content

Commit d6e13f6

Browse files
committed
removed valueError from accInfoQuery.
Signed-off-by: Adityarya11 <arya050411@gmail.com>
1 parent f348e2d commit d6e13f6

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/hiero_sdk_python/query/account_info_query.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,9 @@ def _make_request(self):
5252
Query: The protobuf query message.
5353
5454
Raises:
55-
ValueError: If the account ID is not set.
5655
Exception: If any other error occurs during request construction.
5756
"""
5857
try:
59-
if not self.account_id:
60-
raise ValueError("Account ID must be set before making the request.")
61-
6258
query_header = self._make_request_header()
6359

6460
crypto_info_query = crypto_get_info_pb2.CryptoGetInfoQuery()

0 commit comments

Comments
 (0)