Skip to content

Commit

Permalink
checkpoint: into main from release/2.3.0 @ 07bc1f3 (#17809)
Browse files Browse the repository at this point in the history
Source hash: 07bc1f3
Remaining commits: 1
  • Loading branch information
pmaslana authored Apr 2, 2024
2 parents b684502 + e65210f commit cd3c5af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chia/full_node/full_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ def set_server(self, server: ChiaServer) -> None:
self.full_node_peers = FullNodePeers(
self.server,
self.config["target_outbound_peer_count"],
self.root_path / Path(self.config["peers_file_path"]),
self.root_path / Path(self.config.get("peers_file_path", "db/peers.dat")),
self.config["introducer_peer"],
dns_servers,
self.config["peer_connect_interval"],
Expand Down
2 changes: 1 addition & 1 deletion chia/wallet/wallet_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ def initialize_wallet_peers(self) -> None:
self.wallet_peers = WalletPeers(
self.server,
self.config["target_peer_count"],
self.root_path / Path(self.config["wallet_peers_file_path"]),
self.root_path / Path(self.config.get("wallet_peers_file_path", "wallet/db/wallet_peers.dat")),
self.config["introducer_peer"],
self.config.get("dns_servers", ["dns-introducer.chia.net"]),
self.config["peer_connect_interval"],
Expand Down

0 comments on commit cd3c5af

Please sign in to comment.