NStratis
NStratis copied to clipboard
OP_RETURN script length inconsistent
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.
I think we should fix this on the stratisx wallet