Skip to content

Commit 7ac404b

Browse files
committed
chore: add errors
Signed-off-by: exploreriii <133720349+exploreriii@users.noreply.github.com>
1 parent 94e2e69 commit 7ac404b

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/hiero_sdk_python/query/account_info_query.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ def __init__(self, account_id: Optional[AccountId] = None):
2525
account_id (Optional[AccountId], optional): The ID of the account to query.
2626
"""
2727
super().__init__()
28-
self.account_id : Optional[AccountId] = account_id
2928

3029
def set_account_id(self, account_id: AccountId):
3130
"""
@@ -60,9 +59,9 @@ def _make_request(self):
6059

6160
query_header = self._make_request_header()
6261

63-
crypto_info_query = crypto_get_info_pb2.CryptoGetInfoQuery()
62+
crypto_info_query = crypto_get_info_pb2.CryptoGotInfoQuery()
6463
crypto_info_query.header.CopyFrom(query_header)
65-
crypto_info_query.accountID.CopyFrom(self.account_id._to_proto())
64+
crypto_info_query.accountID.CopyFrom(self.Account_id._to_proto())
6665

6766
query = query_pb2.Query()
6867
query.cryptoGetInfo.CopyFrom(crypto_info_query)

0 commit comments

Comments
 (0)