mirror of
https://github.com/jwinterm/grim.git
synced 2026-11-13 09:14:05 +01:00
peers: fix config edit and load, default mainnet dnsseed
This commit is contained in:
@@ -16,7 +16,7 @@ use grin_core::global::ChainTypes;
|
||||
use serde_derive::{Deserialize, Serialize};
|
||||
use crate::gui::views::Content;
|
||||
|
||||
use crate::node::{NodeConfig, PeersConfig};
|
||||
use crate::node::NodeConfig;
|
||||
use crate::Settings;
|
||||
use crate::wallet::ConnectionsConfig;
|
||||
|
||||
@@ -113,10 +113,6 @@ impl AppConfig {
|
||||
w_node_config.node = node_config.node;
|
||||
w_node_config.peers = node_config.peers;
|
||||
}
|
||||
// Load saved peers to node config.
|
||||
{
|
||||
PeersConfig::load_to_server_config();
|
||||
}
|
||||
// Load connections configuration
|
||||
{
|
||||
let mut w_conn_config = Settings::conn_config_to_update();
|
||||
|
||||
Reference in New Issue
Block a user