zcash_client_sqlite: Remove direct ff dependency
This commit is contained in:
parent
b3f13020ac
commit
e54e3f21e8
|
@ -16,7 +16,6 @@ rust-version = "1.56.1"
|
|||
[dependencies]
|
||||
bech32 = "0.8"
|
||||
bs58 = { version = "0.4", features = ["check"] }
|
||||
ff = "0.12"
|
||||
group = "0.12"
|
||||
hdwallet = { version = "0.3.1", optional = true }
|
||||
jubjub = "0.9"
|
||||
|
|
|
@ -887,8 +887,7 @@ impl BlockSource for FsBlockDb {
|
|||
#[cfg(test)]
|
||||
#[allow(deprecated)]
|
||||
mod tests {
|
||||
use ff::PrimeField;
|
||||
use group::GroupEncoding;
|
||||
use group::{ff::PrimeField, GroupEncoding};
|
||||
use protobuf::Message;
|
||||
use rand_core::{OsRng, RngCore};
|
||||
use rusqlite::params;
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
//! [`WalletRead`]: zcash_client_backend::data_api::WalletRead
|
||||
//! [`WalletWrite`]: zcash_client_backend::data_api::WalletWrite
|
||||
|
||||
use ff::PrimeField;
|
||||
use group::ff::PrimeField;
|
||||
use rusqlite::{OptionalExtension, ToSql, NO_PARAMS};
|
||||
use std::collections::HashMap;
|
||||
use std::convert::TryFrom;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
//!
|
||||
use rusqlite::{named_params, Row};
|
||||
|
||||
use ff::PrimeField;
|
||||
use group::ff::PrimeField;
|
||||
|
||||
use zcash_primitives::{
|
||||
consensus::BlockHeight,
|
||||
|
|
Loading…
Reference in New Issue