Skip to content

Commit

Permalink
fix: remove rln related values if not valid
Browse files Browse the repository at this point in the history
  • Loading branch information
romanzac committed Feb 5, 2024
1 parent 2f79231 commit c00cc71
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/node/waku_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ def parse_rln_credentials(self, default_args):

if len(default_args["rln-creds"]) != 5 or any(value is None for value in default_args["rln-creds"].values()):
logger.info(f"RLN credentials not set, starting without RLN")
del default_args["rln-creds"]
del default_args["rln-register-only"]
return default_args, False

if rln_register_only:
Expand Down

0 comments on commit c00cc71

Please sign in to comment.