Rustfmt
This commit is contained in:
parent
80e1d35ea6
commit
cfb6850d7c
|
@ -4,11 +4,7 @@ use zcash_client_backend::encoding::{
|
||||||
decode_payment_address, decode_transparent_address, encode_payment_address,
|
decode_payment_address, decode_transparent_address, encode_payment_address,
|
||||||
encode_transparent_address,
|
encode_transparent_address,
|
||||||
};
|
};
|
||||||
use zcash_primitives::{
|
use zcash_primitives::{consensus, legacy::TransparentAddress, primitives::PaymentAddress};
|
||||||
consensus,
|
|
||||||
legacy::TransparentAddress,
|
|
||||||
primitives::PaymentAddress,
|
|
||||||
};
|
|
||||||
|
|
||||||
/// An address that funds can be sent to.
|
/// An address that funds can be sent to.
|
||||||
pub enum RecipientAddress {
|
pub enum RecipientAddress {
|
||||||
|
|
|
@ -4,11 +4,7 @@ use rusqlite::{types::ToSql, Connection, NO_PARAMS};
|
||||||
use std::path::Path;
|
use std::path::Path;
|
||||||
use zcash_client_backend::encoding::encode_extended_full_viewing_key;
|
use zcash_client_backend::encoding::encode_extended_full_viewing_key;
|
||||||
|
|
||||||
use zcash_primitives::{
|
use zcash_primitives::{block::BlockHash, consensus, zip32::ExtendedFullViewingKey};
|
||||||
block::BlockHash,
|
|
||||||
consensus,
|
|
||||||
zip32::ExtendedFullViewingKey,
|
|
||||||
};
|
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
address_from_extfvk,
|
address_from_extfvk,
|
||||||
|
@ -259,10 +255,7 @@ mod tests {
|
||||||
};
|
};
|
||||||
|
|
||||||
use super::{init_accounts_table, init_blocks_table, init_data_database};
|
use super::{init_accounts_table, init_blocks_table, init_data_database};
|
||||||
use crate::{
|
use crate::{query::get_address, tests};
|
||||||
query::get_address,
|
|
||||||
tests,
|
|
||||||
};
|
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn init_accounts_table_only_works_once() {
|
fn init_accounts_table_only_works_once() {
|
||||||
|
|
Loading…
Reference in New Issue