mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
script: reduce OP_RETURN standard relay bytes to 40
Per mailing list discussion.
This commit is contained in:
parent
c72204e568
commit
8175c790eb
3 changed files with 10 additions and 9 deletions
|
|
@ -1298,8 +1298,8 @@ bool Solver(const CScript& scriptPubKey, txnouttype& typeRet, vector<vector<unsi
|
|||
}
|
||||
else if (opcode2 == OP_SMALLDATA)
|
||||
{
|
||||
// small pushdata, <= 80 bytes
|
||||
if (vch1.size() > 80)
|
||||
// small pushdata, <= MAX_OP_RETURN_RELAY bytes
|
||||
if (vch1.size() > MAX_OP_RETURN_RELAY)
|
||||
break;
|
||||
}
|
||||
else if (opcode1 != opcode2 || vch1 != vch2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue