diff options
| author | Jeff Garzik <[email protected]> | 2014-02-26 12:58:08 -0500 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2014-02-26 12:58:08 -0500 |
| commit | 8175c790eb12f0b0ca3197895a6d1d479b340b67 (patch) | |
| tree | 50a6bf0be4d4070df1f1b40da3e7e68bf32d3d4c /src/script.cpp | |
| parent | Merge pull request #3718 from jgarzik/pubkey-size (diff) | |
| download | discoin-8175c790eb12f0b0ca3197895a6d1d479b340b67.tar.xz discoin-8175c790eb12f0b0ca3197895a6d1d479b340b67.zip | |
script: reduce OP_RETURN standard relay bytes to 40
Per mailing list discussion.
Diffstat (limited to 'src/script.cpp')
| -rw-r--r-- | src/script.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script.cpp b/src/script.cpp index f03a1e3cb..810ba16d2 100644 --- a/src/script.cpp +++ b/src/script.cpp @@ -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) |