Closed ggutoski closed 2 years ago
At least one validator complained that tofnd's default path is ./.tofnd. This PR changes the default path to $HOME/.tofnd using the dirs crate.
./.tofnd
$HOME/.tofnd
dirs
Notes:
Config.tofnd_path
String
PathBuf
dirs::home_dir
handle_mnemonic
cargo clippy
At least one validator complained that tofnd's default path is
./.tofnd
. This PR changes the default path to$HOME/.tofnd
using thedirs
crate.Notes:
Config.tofnd_path
type fromString
toPathBuf
to accommodatedirs::home_dir
handle_mnemonic
so slow?cargo clippy
is currently broken on macos: Clippy crash (version 1.59 on macOS) · Issue #8470 · rust-lang/rust-clippy