Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OP_RETURN script length inconsistent #13

Open
zeptin opened this issue Dec 13, 2016 · 1 comment
Open

OP_RETURN script length inconsistent #13

zeptin opened this issue Dec 13, 2016 · 1 comment

Comments

@zeptin
Copy link

zeptin commented Dec 13, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants