Skip to content

Commit

Permalink
Merge pull request #27 from Electric-Coin-Company/keys-toml
Browse files Browse the repository at this point in the history
  • Loading branch information
nuttycom authored Jun 20, 2024
2 parents ee2d558 + 174c9a9 commit e304046
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use zcash_protocol::consensus::Parameters;
use crate::error;

const DEFAULT_WALLET_DIR: &str = "./zec_sqlite_wallet";
const KEYS_FILE: &str = "config.toml";
const KEYS_FILE: &str = "keys.toml";
const BLOCKS_FOLDER: &str = "blocks";
const DATA_DB: &str = "data.sqlite";

Expand Down Expand Up @@ -114,7 +114,7 @@ pub(crate) fn init_wallet_config<P: AsRef<Path>>(
let config = WalletConfig {
mnemonic: Some(mnemonic.phrase().to_string()),
network: Some(network.name().to_string()),
birthday: Some(u32::from(birthday)),
birthday: Some(birthday),
};

let config_str = toml::to_string(&config)
Expand Down

0 comments on commit e304046

Please sign in to comment.