Skip to content

OP_RETURN script length inconsistent #13

@zeptin

Description

@zeptin

nStratis allows OP_RETURN scripts up to the maximum length currently supported in Bitcoin itself (83 bytes).

The Stratis GUI wallet (currently 2.0.0.1) rejects the resulting OP_RETURN transaction from nStratis with an error in debug.log:

ERROR: AcceptToMemoryPool : nonstandard transaction: scriptpubkey

It appears that scripts < 40 bytes are accepted, so the length validation is incorrect in either nStratis or the wallet.

Metadata

Metadata

Assignees

No one assigned

    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