Skip to content

Commit 38cab37

Browse files
Refactored AccountInfo class to use the staking_info
Signed-off-by: mukundkumarjha <[email protected]>
1 parent 353824a commit 38cab37

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/hiero_sdk_python/account/account_info.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,9 @@ def _to_proto(self) -> CryptoGetInfoResponse.AccountInfo:
140140
ownedNfts=self.owned_nfts,
141141
max_automatic_token_associations=self.max_automatic_token_associations,
142142
staking_info=(
143-
self.staking_info.to_proto()
144-
if self.staking_info is not None
145-
else None
143+
self.staking_info.to_proto()
144+
if self.staking_info is not None
145+
else None
146146
),
147147
)
148148

0 commit comments

Comments
 (0)