psbt: allow unknowns (global, input and output) to have empty values.
This commit fixes a bug in how the library reads partially-signed Bitcoin transactions (PSBTs). Previously, if a PSBT contained an unknown extra field with an empty value, the library would store a dangling pointer to a zero-length buffer …
10670278by Jon Griffiths+9−23 files