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

remove unlock wallet #3424

Merged
merged 4 commits into from
Apr 27, 2021
Merged

Conversation

vctt94
Copy link
Member

@vctt94 vctt94 commented Apr 26, 2021

closes #3420.

The unlock is not necessary as we sent the passphrase through the grpc request so dcrwallet can make the unlock.

Copy link
Member

@matheusd matheusd left a comment

Choose a reason for hiding this comment

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

This does't really fix the issue. One way you can try it out is to create a new account, then sign a message with an address from that account: you'll get an "account not encrypted" error.

@matheusd
Copy link
Member

This also affects LN wallet creation when creating a new account is chosen (vs using an existing account).

@vctt94 vctt94 force-pushed the lock-acct-after-initial-setup branch from 695b77b to cf06cd1 Compare April 26, 2021 19:37
@vctt94
Copy link
Member Author

vctt94 commented Apr 26, 2021

You are right. This should fix it now

Copy link
Member

@matheusd matheusd left a comment

Choose a reason for hiding this comment

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

Manually creating new account and new LN account are working, but it seems DEX and Mixer accounts are still not encrypted after creation.

Mixer and DEX account creation are using wallet.getNextAccount directly instead of the one from control actions

@vctt94
Copy link
Member Author

vctt94 commented Apr 27, 2021

RIght, I change them to use the getNextAccountAttempt, instead. Thanks

Copy link
Member

@matheusd matheusd left a comment

Choose a reason for hiding this comment

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

The four account creation triggers (new account, LN account, dex account and mixer account) are now working as intendend.

Thanks!

@alexlyp alexlyp merged commit 31a666c into decred:master Apr 27, 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.

[accounts] Newly created accounts need to SetAcccountPassphrase
3 participants