File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1111
1212from hiero_sdk_python .response_code import ResponseCode
1313from hiero_sdk_python .tokens .token_pause_transaction import TokenPauseTransaction
14+ from hiero_sdk_python .hapi .services .token_pause_pb2 import TokenPauseTransactionBody
1415from hiero_sdk_python .tokens .token_id import TokenId
1516from hiero_sdk_python .transaction .transaction_id import TransactionId
1617
@@ -85,7 +86,7 @@ def test__from_proto_restores_token_id():
8586 """
8687 _from_proto() must deserialize TokenPauseTransactionBody → .token_id correctly.
8788 """
88- proto_body = TokenPauseTransaction . _get_transaction_body_class () (
89+ proto_body = TokenPauseTransactionBody (
8990 token = TokenId (7 , 8 , 9 ).to_proto ()
9091 )
9192 tx = TokenPauseTransaction ()._from_proto (proto_body )
You can’t perform that action at this time.
0 commit comments