Skip to content

Commit

Permalink
Apply error message suggestion 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 12, 2024
1 parent 09181f4 commit 7cfaa42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zcash_client_sqlite/src/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ pub(crate) fn get_account_for_ufvk<P: consensus::Parameters>(

if accounts.len() > 1 {
Err(SqliteClientError::CorruptedData(
"Mutiple account records correspond to a single UFVK".to_owned(),
"Mutiple account records matched the provided UFVK".to_owned(),

Check warning on line 774 in zcash_client_sqlite/src/wallet.rs

View check run for this annotation

Codecov / codecov/patch

zcash_client_sqlite/src/wallet.rs#L773-L774

Added lines #L773 - L774 were not covered by tests
))
} else {
Ok(accounts.into_iter().next())
Expand Down

0 comments on commit 7cfaa42

Please sign in to comment.