Comment out unused for now
This commit is contained in:
+5
-3
@@ -152,8 +152,10 @@ impl From<hyper::error::UriError> for Error {
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
pub struct WalletConfig {
|
||||
// Whether to run a wallet
|
||||
pub enable_wallet: bool,
|
||||
// Right now the decision to run or not a wallet is based on the command.
|
||||
// This may change in the near-future.
|
||||
// pub enable_wallet: bool,
|
||||
|
||||
// The api interface/ip_address that this api server (i.e. this wallet) will run
|
||||
// by default this is 127.0.0.1 (and will not accept connections from external clients)
|
||||
pub api_listen_interface: String,
|
||||
@@ -169,7 +171,7 @@ pub struct WalletConfig {
|
||||
impl Default for WalletConfig {
|
||||
fn default() -> WalletConfig {
|
||||
WalletConfig {
|
||||
enable_wallet: false,
|
||||
// enable_wallet: false,
|
||||
api_listen_interface: "127.0.0.1".to_string(),
|
||||
api_listen_port: "13415".to_string(),
|
||||
check_node_api_http_addr: "http://127.0.0.1:13413".to_string(),
|
||||
|
||||
Reference in New Issue
Block a user