decodepsbt fails for PSBT with no inputs #13958

issue sipa openend this issue on August 13, 2018
  1. sipa commented at 4:15 pm on August 13, 2018: member

    Reported by @kallewoof here: #13917 (comment)

    0$ ./bitcoin-cli createpsbt "[]" "[{\"$(./bitcoin-cli getnewaddress)\":0.01}]"
    1cHNidP8BACoCAAAAAAFAQg8AAAAAABepFG6Rty1Vk+fUOR4v9E6R6YXDFkHwhwAAAAAAAA==
    2$ ./bitcoin-cli decodepsbt cHNidP8BACoCAAAAAAFAQg8AAAAAABepFG6Rty1Vk+fUOR4v9E6R6YXDFkHwhwAAAAAAAA==
    3error code: -22
    4error message:
    5TX decode failed CDataStream::read(): end of data: unspecified iostream_category error
    
  2. sipa renamed this:
    `decodepsbt` fails for PSBT with no inputs
    decodepsbt fails for PSBT with no inputs
    on Aug 13, 2018
  3. sipa assigned achow101 on Aug 13, 2018
  4. sipa added the label Bug on Aug 13, 2018
  5. sipa added this to the milestone 0.17.0 on Aug 13, 2018
  6. ken2812221 referenced this in commit 3e5424faf6 on Aug 14, 2018
  7. laanwj closed this on Aug 14, 2018

  8. DrahtBot locked this on Sep 8, 2021


sipa

Labels
Bug

Milestone
0.17.0


github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2024-11-17 18:12 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me