Browse Source

bugfix: tx_parts omits two byte counts in serialization

nifty/pset-pre
niftynei 5 years ago
parent
commit
8e3b39c5dc
No known key found for this signature in database GPG Key ID: BFF0F67810C1EED1
  1. 2
      bitcoin/tx_parts.c

2
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,

Loading…
Cancel
Save