Update deps
This commit is contained in:
parent
a29a4eb0f5
commit
93b768615c
34
Cargo.toml
34
Cargo.toml
|
@ -101,36 +101,36 @@ nodejs = ["node-bindgen"]
|
|||
cuda = ["rustacuda", "rustacuda_core"]
|
||||
apple_metal = ["metal", "objc", "block"]
|
||||
|
||||
# librustzcash synced to 35023ed8ca2fb1061e78fd740b640d4eefcc5edd
|
||||
|
||||
[dependencies.zcash_client_backend]
|
||||
git = "https://github.com/hhanh00/librustzcash.git"
|
||||
rev = "466806932d21597eb4f89a449347fa1983dffb22"
|
||||
|
||||
[dependencies.zcash_primitives]
|
||||
git = "https://github.com/hhanh00/librustzcash.git"
|
||||
rev = "466806932d21597eb4f89a449347fa1983dffb22"
|
||||
features = [ "transparent-inputs" ]
|
||||
|
||||
[dependencies.zcash_proofs]
|
||||
git = "https://github.com/hhanh00/librustzcash.git"
|
||||
rev = "466806932d21597eb4f89a449347fa1983dffb22"
|
||||
# librustzcash synced to 2781e8514533ea9f31e00465ee984036e3fa493c
|
||||
|
||||
[dependencies.zcash_params]
|
||||
git = "https://github.com/hhanh00/zcash-params.git"
|
||||
rev = "2781e8514533ea9f31e00465ee984036e3fa493c"
|
||||
|
||||
[dependencies.zcash_client_backend]
|
||||
git = "https://github.com/hhanh00/librustzcash.git"
|
||||
rev = "625a06128659d011881698ec13edb66c078a6aa2"
|
||||
|
||||
[dependencies.zcash_primitives]
|
||||
git = "https://github.com/hhanh00/librustzcash.git"
|
||||
rev = "625a06128659d011881698ec13edb66c078a6aa2"
|
||||
features = [ "transparent-inputs" ]
|
||||
|
||||
[dependencies.zcash_proofs]
|
||||
git = "https://github.com/hhanh00/librustzcash.git"
|
||||
rev = "625a06128659d011881698ec13edb66c078a6aa2"
|
||||
|
||||
[dependencies.zcash_address]
|
||||
git = "https://github.com/hhanh00/librustzcash.git"
|
||||
rev = "466806932d21597eb4f89a449347fa1983dffb22"
|
||||
rev = "625a06128659d011881698ec13edb66c078a6aa2"
|
||||
|
||||
[dependencies.zcash_encoding]
|
||||
git = "https://github.com/hhanh00/librustzcash.git"
|
||||
rev = "466806932d21597eb4f89a449347fa1983dffb22"
|
||||
rev = "625a06128659d011881698ec13edb66c078a6aa2"
|
||||
|
||||
[dependencies.zcash_note_encryption]
|
||||
git = "https://github.com/hhanh00/librustzcash.git"
|
||||
rev = "466806932d21597eb4f89a449347fa1983dffb22"
|
||||
rev = "625a06128659d011881698ec13edb66c078a6aa2"
|
||||
|
||||
[build-dependencies]
|
||||
tonic-build = "0.7.2"
|
||||
|
|
|
@ -476,7 +476,7 @@ impl DbAdapter {
|
|||
) -> anyhow::Result<HashMap<Vec<u8>, u64>> {
|
||||
let mut sql = "SELECT value, nf FROM received_notes WHERE account = ?1".to_string();
|
||||
if unspent_only {
|
||||
sql += "AND (spent IS NULL OR spent = 0)";
|
||||
sql += " AND (spent IS NULL OR spent = 0)";
|
||||
}
|
||||
let mut statement = self.connection.prepare(&sql)?;
|
||||
let nfs_res = statement.query_map(params![account], |row| {
|
||||
|
|
Loading…
Reference in New Issue