Skip to content

Commit

Permalink
Fix missing file key in ConfigBuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
mg98 committed Oct 16, 2024
1 parent 87745db commit f23772e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ipv8/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,8 +396,7 @@ def add_key_from_bin(self, alias: str, key_bin_b64: str, file_path: str | None =
'alias': alias,
'bin': key_bin_b64
}
if file_path is not None:
key_config['file'] = file_path
key_config['file'] = file_path
self.config['keys'].append(key_config)
return self

Expand Down

0 comments on commit f23772e

Please sign in to comment.