Skip to content

Commit 6500fd1

Browse files
committed
revert topic create
Signed-off-by: exploreriii <[email protected]>
1 parent 02165fc commit 6500fd1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_topic_create_transaction.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)