zcash_client_sqlite: Fix sloppy named-parameter reference.

This commit is contained in:
Kris Nuttycombe 2024-04-01 12:12:31 -06:00
parent 55895b85b5
commit e618d80cde
1 changed files with 3 additions and 3 deletions

View File

@ -65,7 +65,7 @@
//! - `memo` the shielded memo associated with the output, if any.
use incrementalmerkletree::Retention;
use rusqlite::{self, named_params, params, OptionalExtension};
use rusqlite::{self, named_params, OptionalExtension};
use secrecy::{ExposeSecret, SecretVec};
use shardtree::{error::ShardTreeError, store::ShardStore, ShardTree};
use zip32::fingerprint::SeedFingerprint;
@ -1626,7 +1626,7 @@ pub(crate) fn get_account<P: Parameters>(
"#,
)?;
let mut result = sql.query(params![account_id.0])?;
let mut result = sql.query(named_params![":account_id": account_id.0])?;
let row = result.next()?;
match row {
Some(row) => {