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
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion WalletWasabi.Fluent/Models/Wallets/WalletAuthModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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.

}

CompleteLogin();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@
</InfoMessage>
<InfoMessage>
<DockPanel>
<TextBlock Text="Your password is also required to restore your wallet, do not forget it." />
<TextBlock Text="Your passphrase is also required to restore your wallet, do not forget it." />
</DockPanel>
</InfoMessage>
</StackPanel>

</UserControl>