replace sp_backend with sp_client
This commit is contained in:
parent
d24401ada8
commit
8f11111943
@ -10,7 +10,7 @@ crate-type = ["cdylib", "rlib"]
|
||||
anyhow = "1.0"
|
||||
serde = { version = "1.0.193", features = ["derive"] }
|
||||
serde_json = "1.0.108"
|
||||
sp_backend = { git = "https://github.com/Sosthene00/sp-backend.git", branch = "sp_client" }
|
||||
sp_client = { git = "https://github.com/Sosthene00/sp-client.git", branch = "sp_client" }
|
||||
uuid = { version = "1.6.1", features = ["serde", "v4"] }
|
||||
aes-gcm = "0.10.3"
|
||||
rand = "0.8.5"
|
||||
|
@ -1,7 +1,7 @@
|
||||
use std::collections::HashMap;
|
||||
|
||||
use anyhow::{Error, Result};
|
||||
use sp_backend::{
|
||||
use sp_client::{
|
||||
bitcoin::{
|
||||
consensus::serde::hex,
|
||||
hex::DisplayHex,
|
||||
|
@ -1,12 +1,8 @@
|
||||
use std::str::FromStr;
|
||||
|
||||
use anyhow::{Error, Result};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use serde_json::Value;
|
||||
use sp_backend::bitcoin::key::constants::ZERO;
|
||||
use sp_backend::bitcoin::{consensus::deserialize, hashes, secp256k1::PublicKey, Transaction};
|
||||
use sp_backend::bitcoin::{OutPoint, Txid};
|
||||
use sp_backend::silentpayments::bitcoin_hashes::{sha256t_hash_newtype, Hash, HashEngine};
|
||||
use sp_client::bitcoin::key::constants::ZERO;
|
||||
use sp_client::bitcoin::OutPoint;
|
||||
use sp_client::silentpayments::bitcoin_hashes::{sha256t_hash_newtype, Hash, HashEngine};
|
||||
use tsify::Tsify;
|
||||
|
||||
use crate::crypto::CipherText;
|
||||
|
Loading…
x
Reference in New Issue
Block a user