Skip to content

Commit 0b8f201

Browse files
committed
Revert max OP_RETURN relay size to 83 bytes
1 parent fc5cccb commit 0b8f201

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/script/standard.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class CScriptID : public uint160
2727
CScriptID(const uint160& in) : uint160(in) {}
2828
};
2929

30-
static const unsigned int MAX_OP_RETURN_RELAY = 2051; //! bytes (+1 for OP_RETURN, +2 for the pushdata opcodes, +2048 for BDAP data)
30+
static const unsigned int MAX_OP_RETURN_RELAY = 83; //! bytes (+1 for OP_RETURN, +2 for the push data opcodes)
3131
extern bool fAcceptDatacarrier;
3232
extern unsigned nMaxDatacarrierBytes;
3333

0 commit comments

Comments
 (0)