Skip to content

Commit

Permalink
Remove unnecessary assert
Browse files Browse the repository at this point in the history
  • Loading branch information
felixbrucker committed Oct 7, 2023
1 parent fe668ce commit b38a3a3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion chia/util/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,6 @@ def set_peer_info(
peer_port: Optional[int] = None,
):
peer_info_key = PEER_INFO_MAPPING[peer_type]
assert peer_info_key is not None
if peer_info_key in service_config:
if peer_host is not None:
service_config[peer_info_key]["host"] = peer_host
Expand Down

0 comments on commit b38a3a3

Please sign in to comment.