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

[Trivial] Change password to passphrase #12708

Merged
merged 1 commit into from Mar 22, 2024
Merged

Conversation

yahiheb
Copy link
Collaborator

@yahiheb yahiheb commented Mar 22, 2024

Some leftovers, like #12320 (comment)

@@ -29,7 +29,7 @@ public async Task LoginAsync(string password)
var isPasswordCorrect = await Task.Run(() => _wallet.TryLogin(password, out var _));
if (!isPasswordCorrect)
{
throw new InvalidOperationException($"Incorrect password.");
throw new InvalidOperationException("Incorrect passphrase.");
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why is there no more $ here?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Because it's useless. $ means that you want the variables inside the string (enclosed by {}) to be processed. However, here the string is constant, so no need.

@turbolay turbolay merged commit 6001415 into zkSNACKs:master Mar 22, 2024
8 checks passed
@yahiheb yahiheb deleted the passphrase branch March 23, 2024 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants