Browse Source
bugfix: tx_parts omits two byte counts in serialization
nifty/pset-pre
niftynei
5 years ago
No known key found for this signature in database
GPG Key ID: BFF0F67810C1EED1
1 changed files with
2 additions and
0 deletions
-
bitcoin/tx_parts.c
|
|
@ -331,8 +331,10 @@ static void towire_wally_tx_input(u8 **pptr, const struct wally_tx_input *in) |
|
|
|
towire_wally_tx_witness_stack(pptr, in->witness); |
|
|
|
|
|
|
|
if (is_elements(chainparams)) { |
|
|
|
towire_u32(pptr, sizeof(in->blinding_nonce)); |
|
|
|
towire_u8_array(pptr, in->blinding_nonce, |
|
|
|
sizeof(in->blinding_nonce)); |
|
|
|
towire_u32(pptr, sizeof(in->entropy)); |
|
|
|
towire_u8_array(pptr, in->entropy, sizeof(in->entropy)); |
|
|
|
towire_u32(pptr, in->issuance_amount_len); |
|
|
|
towire_u8_array(pptr, in->issuance_amount, |
|
|
|