Fix a typo in an error message.
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
41c30ef44d
commit
dcf0187e52
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue