Add LibTest getTestDataDir to fix sled test on android
This commit is contained in:
parent
91ae8dd537
commit
59fe24818a
@ -1,3 +1,5 @@
|
||||
use crate::blockchain::BlockchainConfig;
|
||||
use crate::database::DatabaseConfig;
|
||||
use crate::error::get_name;
|
||||
use ::safer_ffi::prelude::*;
|
||||
use bdk::bitcoin::network::constants::Network::Testnet;
|
||||
@ -10,8 +12,6 @@ use bdk::wallet::AddressIndex::New;
|
||||
use bdk::{Error, Wallet};
|
||||
use safer_ffi::boxed::Box;
|
||||
use safer_ffi::char_p::{char_p_boxed, char_p_ref};
|
||||
use crate::blockchain::BlockchainConfig;
|
||||
use crate::database::DatabaseConfig;
|
||||
|
||||
#[derive_ReprC]
|
||||
#[ReprC::opaque]
|
||||
@ -86,7 +86,6 @@ fn new_wallet_result(
|
||||
blockchain_config: &BlockchainConfig,
|
||||
database_config: &DatabaseConfig,
|
||||
) -> Box<WalletResult> {
|
||||
|
||||
let descriptor = descriptor.to_string();
|
||||
let change_descriptor = change_descriptor.map(|s| s.to_string());
|
||||
let bc_config = &blockchain_config.raw;
|
||||
|
Loading…
x
Reference in New Issue
Block a user