Skip to content

dash: don't fail on unknown special transaction types #1130

Closed

Description

@ZocoLini

Part of #1047.

TransactionType::try_from returns UnknownSpecialTransactionType for unknown types, so one new tx type breaks the decoding of the whole block. Fall back to keeping the payload as raw bytes, using the length prefix we already read.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions