Skip to content

Commit a2679e0

Browse files
test file modified
Signed-off-by: mukundkumarjha <mukundiiitg@gmail.com>
1 parent 2f13541 commit a2679e0

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

tests/unit/account_info_test.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,16 +77,18 @@ def test_from_proto_with_staking_info():
7777
"""Test the from_proto method of the AccountInfo class with staking info"""
7878
public_key = PrivateKey.generate_ed25519().public_key()
7979

80+
staking_info={
81+
"decline_reward": True,
82+
"staked_node_id": 3,
83+
"staked_account_id": None
84+
}
85+
8086
proto = CryptoGetInfoResponse.AccountInfo(
8187
accountID=AccountId(0, 0, 100)._to_proto(),
8288
key=public_key._to_proto(),
8389
balance=5000000,
8490

85-
staking_info={
86-
"decline_reward": True,
87-
"staked_node_id": 3,
88-
"staked_account_id": None
89-
}
91+
9092
)
9193

9294
account_info = AccountInfo._from_proto(proto)

0 commit comments

Comments
 (0)