Skip to content

Commit b66d792

Browse files
committed
psbt_version and proprierary as options
1 parent c244442 commit b66d792

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
@@ -1789,8 +1789,8 @@ pub struct DecodePsbtResult {
17891789
pub tx: DecodePsbtResultTransaction,
17901790
#[serde(default)]
17911791
pub global_xpubs: Vec<DecodePsbtResultGlobalXpubs>,
1792-
pub psbt_version: u32,
1793-
pub proprietary: Vec<DecodePsbtResultProprietary>,
1792+
pub psbt_version: Option<u32>,
1793+
pub proprietary: Option<Vec<DecodePsbtResultProprietary>>,
17941794
pub unknown: HashMap<String, String>,
17951795
pub inputs: Vec<DecodePsbtResultInput>,
17961796
pub outputs: Vec<DecodePsbtResultOutput>,

0 commit comments

Comments
 (0)