zcash_client_sqlite: Fix sloppy named-parameter reference.
This commit is contained in:
parent
55895b85b5
commit
e618d80cde
|
@ -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) => {
|
||||
|
|
Loading…
Reference in New Issue