Comment out unused for now

This commit is contained in:
Ignotus Peverell 2017-12-07 19:12:27 +00:00
parent f001006fc9
commit 68bb49dd61
No known key found for this signature in database
GPG key ID: 99CD25F39F8F8211

View file

@ -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(),