mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-11-29 12:06:35 -05:00
Upgrade bitcoin and bdk to latest version
The latest version allows us to access `miniscript` via `bdk` which removes the need for declaring it as an extra dependency.
This commit is contained in:
parent
9ea73a8e66
commit
4de8b0ebc4
9 changed files with 125 additions and 368 deletions
|
|
@ -6,8 +6,8 @@ use ::bitcoin::util::psbt::PartiallySignedTransaction;
|
|||
use ::bitcoin::{OutPoint, TxIn, TxOut, Txid};
|
||||
use anyhow::{bail, Result};
|
||||
use bdk::database::BatchDatabase;
|
||||
use bdk::miniscript::{Descriptor, DescriptorTrait};
|
||||
use bitcoin::Script;
|
||||
use miniscript::{Descriptor, DescriptorTrait};
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
const SCRIPT_SIZE: usize = 34;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue