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

chore: fix some typos #1504

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion liana-gui/src/installer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ impl From<SettingsError> for Error {
impl std::fmt::Display for Error {
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
match self {
Self::Auth(e) => write!(f, "Authentification error: {}", e),
Self::Auth(e) => write!(f, "Authentication error: {}", e),
Self::Backend(e) => write!(f, "Remote backend error: {}", e),
Self::Settings(e) => write!(f, "Settings file error: {}", e),
Self::Bitcoind(e) => write!(f, "Failed to ping bitcoind: {}", e),
Expand Down
2 changes: 1 addition & 1 deletion liana-gui/src/installer/step/descriptor/editor/key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ impl super::DescriptorEditModal for EditXpubModal {

fn update(&mut self, hws: &mut HardwareWallets, message: Message) -> Command<Message> {
// Reset these fields.
// the fonction will setup them again if something is wrong
// the function will setup them again if something is wrong
self.duplicate_master_fg = false;
self.error = None;
match message {
Expand Down
2 changes: 1 addition & 1 deletion liana-gui/src/lianalite/login.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ pub struct LianaLiteLogin {

// Error due to connection
connection_error: Option<Error>,
// Authentification Error
// Authentication Error
auth_error: Option<&'static str>,
}

Expand Down
4 changes: 2 additions & 2 deletions liana/src/descriptors/analysis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -324,10 +324,10 @@ impl PathInfo {
// of our known master xpubs.
if let Some(parent_der_paths) = origins.get(fg) {
// If it is, make sure it's for one of the xpubs included in the descriptor. Remove
// the wilcard step and check if it's in the set of the derivation paths.
// the wildcard step and check if it's in the set of the derivation paths.
let der_path_wo_wc: bip32::DerivationPath = der_path[..der_path.len() - 1].into();
if parent_der_paths.contains(&der_path_wo_wc) {
// If the origin of the key without the wilcard step is part of our keys, count
// If the origin of the key without the wildcard step is part of our keys, count
// it as a signature. Also record how many times this master extended key
// signed.
sigs_count += 1;
Expand Down
2 changes: 1 addition & 1 deletion liana/src/descriptors/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ impl LianaDescriptor {
// We add one to account for the witness stack size, as the values above give the
// difference in size for a satisfied input that was *already* in a transaction
// that spent one or more Segwit coins (and thus already have 1 WU accounted for the
// emtpy witness). But this method is used to account between a completely "nude"
// empty witness). But this method is used to account between a completely "nude"
// transaction (and therefore no Segwit marker nor empty witness in inputs) and a
// satisfied transaction.
self.multi_desc
Expand Down
2 changes: 1 addition & 1 deletion tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ python3 -m venv venv
pip install -r tests/requirements.txt
```

Additionaly you need to have `bitcoind` installed on your computer, please
Additionally you need to have `bitcoind` installed on your computer, please
refer to [bitcoincore](https://bitcoincore.org/en/download/) for installation. You may use a
specific `bitcoind` binary by specifying the `BITCOIND_PATH` env var.

Expand Down
Loading