From ada835c803871462a41d62e14cfea9c6e6416cd9 Mon Sep 17 00:00:00 2001 From: abhiyana Date: Fri, 9 Feb 2024 21:20:13 +0530 Subject: [PATCH] refactor: refactor the insert_keys function parameter --- parachain/parachain.star | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parachain/parachain.star b/parachain/parachain.star index 88a919c..ccdb4c0 100644 --- a/parachain/parachain.star +++ b/parachain/parachain.star @@ -73,7 +73,7 @@ def start_local_parachain_node(plan, chain_type, parachain, para_id, sudo_key=No parachain_final[parachain_spawn_detail.name] = parachain_detail if sudo_key != None: - insert_keys(plan, "aura", sudo_key["private_phrase"], sudo_key["public_key_hex"], parachain_detail["endpoint"]) + insert_keys(plan, "aura", sudo_key["private_phrase"], parachain_detail["endpoint"]) return parachain_final def start_nodes(plan, chain_type, parachains, relay_chain_ip, sudo_key=None): @@ -244,7 +244,7 @@ def run_testnet_mainnet(plan, chain_type, relaychain_name, parachain): -def insert_keys(plan, key_type, private_phrase, sudo_key_in_hex, uri): +def insert_keys(plan, key_type, private_phrase, uri): files = { "/javascript": "javascript", }