Skip to content

Commit e1d529c

Browse files
committed
added psbt::input crate
1 parent d2b67e1 commit e1d529c

File tree

4 files changed

+3
-2
lines changed

4 files changed

+3
-2
lines changed

.github/workflows/cont_integration.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ jobs:
6161
cargo update -p flate2 --precise 1.0.26
6262
cargo update -p reqwest --precise "0.11.18"
6363
cargo update -p h2 --precise "0.3.20"
64+
cargo update -p rustls --precise "0.20.8"
6465
6566
- name: Build
6667
run: cargo build --no-default-features --features repl,${{ matrix.features }}

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ readme = "README.md"
1212
license = "MIT"
1313

1414
[dependencies]
15-
# right here set path
1615
bdk = { version = "0.27.1", default-features = false, features = ["all-keys"] }
1716
bdk-macros = "0.6"
1817
clap = { version = "3.2.22", features = ["derive"] }

src/commands.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,7 @@ pub enum OnlineWalletSubCommand {
527527
#[clap(name = "CONFIRMATIONS", long = "confirmations", default_value = "6")]
528528
confirmations: u32,
529529
},
530+
#[cfg(not(feature = "async-interface"))]
530531
/// Sends a Payjoin Transaction. Takes a valid payjoin bip21 uri.
531532
SendPayjoin {
532533
/// Sets the bip21 uri to send to.

src/handlers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ use bdk::{database::BatchDatabase, wallet::AddressIndex, Error, FeeRate, Keychai
2626

2727
use clap::Parser;
2828

29-
3029
use bdk::bitcoin::consensus::encode::{deserialize, serialize, serialize_hex};
3130
#[cfg(any(
3231
feature = "electrum",
@@ -396,6 +395,7 @@ where
396395
Ok(json!({ "spendable": spendable }))
397396
}
398397

398+
#[cfg(not(feature = "async-interface"))]
399399
// Payjoin Logic goes here
400400
SendPayjoin { uri } => {
401401
// convert the bip21 uri into a payjoin uri, and handle error if necessary

0 commit comments

Comments
 (0)