Skip to content

bug in segwit transaction #1

Description

@DariusParvin

Thank you for this awesome tutorial!

I ran the code to create a transaction, but I get an error message when I try to decode it.
specifically with bitcoind 'decoderawtransaction' i get error code: -22. I tried with other decoders too.

Here's an example transaction that's generated with the code:
010000000001014fd41d549a05ecb69351b91c4d4095984f0bb458e75046a75f7daf91c0fec97301000000171600143eccb863aa870995519e89f242fcaadcf526a34dffffffff01d0fb01000000000017a91487b16bf5c5e43bf1dbd69440556f4f5a1430b5fd87024730450221008ad3c641868acf26bcdeabbf3bfa3cb0a1688938ce01886eb0c4ae712d926c300220799b8da8e3bed0c542abe7b5797173a9e44a51875c16890adb2d2d0776c906fa01210337078f8c4a54b67cd1724a3535cb1918bca186c7a143459c9aac35113d4a958b00000000

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions