From ad44ce5897fd87429d2fb119dae86b92c71d3089 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CMariusz=20Trela=E2=80=9D?= Date: Wed, 20 Nov 2024 13:18:56 +0100 Subject: [PATCH] Use the same posting/active authority during blocks generation for python tests --- .../util/universal_block_logs/generate_universal_block_logs.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/python/functional/util/universal_block_logs/generate_universal_block_logs.py b/tests/python/functional/util/universal_block_logs/generate_universal_block_logs.py index 4f0a943dc0..abd419aff6 100644 --- a/tests/python/functional/util/universal_block_logs/generate_universal_block_logs.py +++ b/tests/python/functional/util/universal_block_logs/generate_universal_block_logs.py @@ -271,7 +271,6 @@ def generate_authority(wallet: tt.OldWallet, authority_type: Literal["open_sign" case "single_sign": wallet.api.import_key(tt.PrivateKey("account", secret="owner")) wallet.api.import_key(tt.PrivateKey("account", secret="active")) - wallet.api.import_key(tt.PrivateKey("account", secret="posting")) return { "owner": { @@ -287,7 +286,7 @@ def generate_authority(wallet: tt.OldWallet, authority_type: Literal["open_sign" "posting": { "weight_threshold": 1, "account_auths": [], - "key_auths": [[tt.PublicKey("account", secret="posting"), 1]], + "key_auths": [[tt.PublicKey("account", secret="active"), 1]], }, "memo": tt.PublicKey("account", secret="memo"), }