diff --git a/txscript/engine.go b/txscript/engine.go index f2d7b303..b6981c8c 100644 --- a/txscript/engine.go +++ b/txscript/engine.go @@ -102,7 +102,7 @@ const ( MaxStackSize = 1000 // MaxScriptSize is the maximum allowed length of a raw script. - MaxScriptSize = 10000 + MaxScriptSize = 20005 // payToWitnessPubKeyHashDataSize is the size of the witness program's // data push for a pay-to-witness-pub-key-hash output.