Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
fix: put boot node behind if condition for reth (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
h4ck3rk3y authored Jul 25, 2023
1 parent 2d0c53c commit b3de5e4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/el/reth/reth_launcher.star
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,9 @@ def get_config(genesis_data, image, existing_el_clients, verbosity_level, extra_
if len(existing_el_clients) > 0:
bootnode_context = existing_el_clients[0]
bootnode_enode = bootnode_context.enode

launch_node_cmd.append(
'--bootnodes="{0}"'.format(bootnode_enode),
)
launch_node_cmd.append(
'--bootnodes="{0}"'.format(bootnode_enode),
)

if len(extra_params) > 0:
# this is a repeated<proto type>, we convert it into Starlark
Expand Down

0 comments on commit b3de5e4

Please sign in to comment.