Include proprietary keys in deserialized fields

This commit is contained in:
Riccardo Casatta 2021-03-13 15:41:07 +01:00
parent fcd7200efe
commit 7e25c133d8
No known key found for this signature in database
GPG Key ID: FD986A969E450397
1 changed files with 1 additions and 0 deletions

View File

@ -339,6 +339,7 @@ impl Decodable for Global {
rv.version = version.unwrap_or(0); rv.version = version.unwrap_or(0);
rv.xpub = xpub_map; rv.xpub = xpub_map;
rv.unknown = unknowns; rv.unknown = unknowns;
rv.proprietary = proprietary;
Ok(rv) Ok(rv)
} else { } else {
Err(Error::MustHaveUnsignedTx.into()) Err(Error::MustHaveUnsignedTx.into())