Skip to content

Commit 981b78a

Browse files
committed
Add address field
1 parent 9186b66 commit 981b78a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

json/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,10 @@ pub struct GetRawTransactionResultVoutScriptPubKey {
561561
pub req_sigs: Option<usize>,
562562
#[serde(rename = "type")]
563563
pub type_: Option<ScriptPubkeyType>,
564+
// Deprecated in Bitcoin Core 22
564565
pub addresses: Option<Vec<Address>>,
566+
// Added in Bitcoin Core 22
567+
pub address: Option<Address>,
565568
}
566569

567570
impl GetRawTransactionResultVoutScriptPubKey {

0 commit comments

Comments
 (0)