chore: fix some typos
Signed-off-by: fudancoder <fudancoder@icloud.com.>
This commit is contained in:
parent
c9743b4070
commit
96fd7b5ee3
@ -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),
|
||||
|
||||
@ -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 {
|
||||
|
||||
@ -98,7 +98,7 @@ pub struct LianaLiteLogin {
|
||||
|
||||
// Error due to connection
|
||||
connection_error: Option<Error>,
|
||||
// Authentification Error
|
||||
// Authentication Error
|
||||
auth_error: Option<&'static str>,
|
||||
}
|
||||
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user