-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix] Use user home directory for wallet path (#59)
* Updates local -> environment vars in changelog * closes GH #51 (#56) * [fix] Use userhome for default wallet path ~ (#57) * use userhome for default path ~ * bump ver * expand path on init and use as _path --------- Co-authored-by: ibraheem-opentensor <[email protected]> Co-authored-by: ibraheem-opentensor <[email protected]> Co-authored-by: Cameron Fairchild <[email protected]>
- Loading branch information
1 parent
708e140
commit f420553
Showing
7 changed files
with
42 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
pub const BT_WALLET_NAME: &str = "default"; | ||
pub const BT_WALLET_HOTKEY: &str = "default"; | ||
pub const BT_WALLET_PATH: &str = ".bittensor/wallets/"; | ||
pub const BT_WALLET_PATH: &str = "~/.bittensor/wallets/"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters