Fix a typo in an error message.

Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira-Emma Hopwood 2024-06-17 14:11:25 +01:00
parent 41c30ef44d
commit dcf0187e52
1 changed files with 1 additions and 3 deletions

View File

@ -623,9 +623,7 @@ pub(crate) fn get_transparent_receivers<P: consensus::Parameters>(
let ua_str: String = row.get(0)?;
let di_vec: Vec<u8> = row.get(1)?;
let mut di: [u8; 11] = di_vec.try_into().map_err(|_| {
SqliteClientError::CorruptedData(
"Diverisifier index is not an 11-byte value".to_owned(),
)
SqliteClientError::CorruptedData("Diversifier index is not an 11-byte value".to_owned())
})?;
di.reverse(); // BE -> LE conversion