@@ -19,7 +19,7 @@ def test_build_topic_create_transaction_body(mock_account_ids):
1919 """
2020 _ , _ , node_account_id , _ , _ = mock_account_ids
2121
22- tx = TopicCreateTransaction (memo = "Hello Topic" , admin_key = PrivateKey .generate_ed25519 ().public_key ())
22+ tx = TopicCreateTransaction (memo = "Hello Topic" , admin_key = PrivateKey .generate ().public_key ())
2323
2424 tx .operator_account_id = AccountId (0 , 0 , 2 )
2525 tx .node_account_id = node_account_id
@@ -60,7 +60,7 @@ def test_sign_topic_create_transaction(mock_account_ids):
6060 tx .operator_account_id = AccountId (0 , 0 , 2 )
6161 tx .node_account_id = node_account_id
6262
63- private_key = PrivateKey .generate_ed25519 ()
63+ private_key = PrivateKey .generate ()
6464
6565 body_bytes = tx .build_transaction_body ().SerializeToString ()
6666 tx .transaction_body_bytes = body_bytes
@@ -78,7 +78,7 @@ def test_execute_topic_create_transaction(mock_account_ids):
7878 tx .operator_account_id = AccountId (0 , 0 , 2 )
7979
8080 client = MagicMock (spec = Client )
81- client .operator_private_key = PrivateKey .generate_ed25519 ()
81+ client .operator_private_key = PrivateKey .generate ()
8282 client .operator_account_id = AccountId (0 , 0 , 2 )
8383 client .node_account_id = node_account_id
8484
0 commit comments