Use a slice literal instead of a vec in put_received_note

This commit is contained in:
Kris Nuttycombe 2021-01-12 21:06:57 -07:00
parent fcb2f7a433
commit eef2d5944b
1 changed files with 1 additions and 1 deletions

View File

@ -559,7 +559,7 @@ pub fn put_received_note<'a, P, T: ShieldedOutput>(
let output_index = output.index() as i64;
let nf_bytes = nf_opt.map(|nf| nf.0.to_vec());
let sql_args: Vec<(&str, &dyn ToSql)> = vec![
let sql_args: &[(&str, &dyn ToSql)] = &[
(&":account", &account),
(&":diversifier", &diversifier),
(&":value", &value),