Skip to content

Commit

Permalink
Apply documentation suggestions from code review.
Browse files Browse the repository at this point in the history
Co-authored-by: str4d <[email protected]>
  • Loading branch information
nuttycom and str4d authored Mar 4, 2024
1 parent e4c0b0e commit ffb1755
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions zcash_client_backend/src/data_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -494,9 +494,13 @@ pub trait WalletRead {

/// Verifies that the given seed corresponds to the viewing key for the specified account.
///
/// Returns `Ok(true)` if the viewing key for the specified account can be derived from
/// the provided seed, `Ok(false)` if the derived seed does not match or the specified
/// account is not present in the database, or an error in the case
/// Returns:
/// - `Ok(true)` if the viewing key for the specified account can be derived from the
/// provided seed.
/// - `Ok(false)` if the derived seed does not match, or the specified account is not
/// present in the database.
/// - `Err(_)` if a Unified Spending Key cannot be derived from the seed for the
/// specified account.
fn validate_seed(
&self,
account_id: Self::AccountId,
Expand Down

0 comments on commit ffb1755

Please sign in to comment.