Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client/eth: implement Exists #1332

Merged
merged 1 commit into from
Dec 9, 2021
Merged

Conversation

buck54321
Copy link
Member

Exists works by trying to load the keystore and checking for > 1
wallets. Remove unused "appdir" setting from custom config. We already
have CreateWalletParams.DataDir.

@buck54321 buck54321 mentioned this pull request Dec 7, 2021
27 tasks
keyStoreDir := filepath.Join(getWalletDir(dataDir, net), "keystore")
ks := keystore.NewKeyStore(keyStoreDir, keystore.LightScryptN, keystore.LightScryptP)
Copy link
Member

@chappjc chappjc Dec 7, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are three different magic values that must match elsewhere, including the new "keystore". Can we make these package-level?

@chappjc
Copy link
Member

chappjc commented Dec 7, 2021

Will allow more reviews since this isn't required for other urgent work.

@JoeGruffins
Copy link
Member

Have a test failure in #1335 that may or may not be related to these changes.

Exists works by trying to load the keystore and checking for > 1
wallets. Remove unused "appdir" setting from custom config. Just use
CreateWalletParams.DataDir.
@chappjc chappjc merged commit 90716b9 into decred:master Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants