NStratis icon indicating copy to clipboard operation
NStratis copied to clipboard

OP_RETURN script length inconsistent

Open zeptin opened this issue 8 years ago • 1 comments

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.

zeptin avatar Dec 13 '16 04:12 zeptin

I think we should fix this on the stratisx wallet

dangershony avatar Jul 31 '17 20:07 dangershony