Skip to content

Commit 8fdb14f

Browse files
committed
psbt_version and proprierary as options
1 parent 3e924ef commit 8fdb14f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

json/src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1823,8 +1823,8 @@ pub struct DecodePsbtResult {
18231823
pub tx: DecodePsbtResultTransaction,
18241824
#[serde(default)]
18251825
pub global_xpubs: Vec<DecodePsbtResultGlobalXpubs>,
1826-
pub psbt_version: u32,
1827-
pub proprietary: Vec<DecodePsbtResultProprietary>,
1826+
pub psbt_version: Option<u32>,
1827+
pub proprietary: Option<Vec<DecodePsbtResultProprietary>>,
18281828
pub unknown: HashMap<String, String>,
18291829
pub inputs: Vec<DecodePsbtResultInput>,
18301830
pub outputs: Vec<DecodePsbtResultOutput>,

0 commit comments

Comments
 (0)