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 comments #1494

Closed
wants to merge 1 commit into from
Closed
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 zcash_client_backend/src/tor/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ async fn make_http_request<T, F: Future<Output = Result<T, Error>>>(
}
}

/// Errors that can occurr while using HTTP-over-Tor.
/// Errors that can occur while using HTTP-over-Tor.
#[derive(Debug)]
pub enum HttpError {
/// A non-HTTP URL was encountered.
Expand Down
2 changes: 1 addition & 1 deletion zcash_client_backend/src/tor/http/cryptex.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ pub struct ExchangeData {

impl ExchangeData {
/// Returns the mid-point between current best bid and current best ask, to avoid
/// manipulation by targeted trade fulfilment.
/// manipulation by targeted trade fulfillment.
fn exchange_rate(&self) -> Decimal {
(self.bid + self.ask) / Decimal::TWO
}
Expand Down
2 changes: 1 addition & 1 deletion zcash_client_sqlite/src/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ pub(crate) fn get_account_for_ufvk<P: consensus::Parameters>(

if accounts.len() > 1 {
Err(SqliteClientError::CorruptedData(
"Mutiple account records matched the provided UFVK".to_owned(),
"Multiple account records matched the provided UFVK".to_owned(),
))
} else {
Ok(accounts.into_iter().next())
Expand Down