From d9a3abd20151d4eef583f4b768158769d0bf4ee1 Mon Sep 17 00:00:00 2001 From: Apple Date: Thu, 13 Feb 2020 00:51:50 +0500 Subject: [PATCH] src/script: fix max op_return relay size --- src/script/standard.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/script/standard.h b/src/script/standard.h index 3b2838a5b..b1bc5ac47 100644 --- a/src/script/standard.h +++ b/src/script/standard.h @@ -28,10 +28,10 @@ class CScriptID : public uint160 }; /** - * Default setting for nMaxDatacarrierBytes. 80 bytes of data, +1 for OP_RETURN, + * Default setting for nMaxDatacarrierBytes. 256 bytes of data, +1 for OP_RETURN, * +2 for the pushdata opcodes. */ -static const unsigned int MAX_OP_RETURN_RELAY = 83; +static const unsigned int MAX_OP_RETURN_RELAY = 259; /** * A data carrying output is an unspendable output containing data. The script