Skip to content

Commit 4bf63c8

Browse files
authored
Merge pull request #16 from Foundation-Devices/destringify-psbt
Destringify bitcoin APIs
2 parents e19078d + 13b410e commit 4bf63c8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

api/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "foundation-api"
3-
version = "1.5.0"
3+
version = "1.6.0"
44
edition = "2021"
55
description = "Foundation API using Gordian Sealed Transaction Protocol (GSTP)."
66
authors = ["Wolf McNally, Blockchain Commons, Foundation Devices"]

api/src/api/bitcoin.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ pub struct SignPsbt {
88
#[n(0)]
99
pub account_id: String,
1010
#[n(1)]
11-
pub psbt: String,
11+
pub psbt: Vec<u8>,
1212
}
1313

1414
#[quantum_link]
@@ -24,5 +24,5 @@ pub struct BroadcastTransaction {
2424
#[n(0)]
2525
pub account_id: String,
2626
#[n(1)]
27-
pub psbt: String,
27+
pub psbt: Vec<u8>,
2828
}

0 commit comments

Comments
 (0)