Skip to content

Commit

Permalink
Set the default Args appdir to None (#432)
Browse files Browse the repository at this point in the history
With the change from #429 the defaults are now used whenever
no value is passed to cli args.

appdir default value used to not matter, but now if it's set it makes
the datadir be inside the current directory
  • Loading branch information
coderofstuff authored Mar 13, 2024
1 parent 8b70061 commit cb0451f
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 2 deletions.
56 changes: 55 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion kaspad/src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ pub struct Args {
impl Default for Args {
fn default() -> Self {
Self {
appdir: Some("datadir".into()),
appdir: None,
no_log_files: false,
rpclisten_borsh: None,
rpclisten_json: None,
Expand Down

0 comments on commit cb0451f

Please sign in to comment.