diff options
Diffstat (limited to 'bip-0119.mediawiki')
-rw-r--r-- | bip-0119.mediawiki | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bip-0119.mediawiki b/bip-0119.mediawiki index 7a87b24..730ffb9 100644 --- a/bip-0119.mediawiki +++ b/bip-0119.mediawiki @@ -266,7 +266,7 @@ segwit transaction in which case it must be only the exact redeemscript. P2SH is (unless the P2SH hash is broken) with CHECKTEMPLATEVERIFY because the template hash must commit to the ScriptSig, which must contain the redeemscript, which is a hash cycle. -To prevent succeptibility to malleability when not using a segwit input, we also commit to the +To prevent malleability when not using a segwit input, we also commit to the scriptsig. This makes it possible to use a 2 input CHECKTEMPLATEVERIFY with a legacy pre-signed spend, as long as the exact scriptsig for the legacy output is committed. This is more robust than simply disallowing any scriptSig to be set with CHECKTEMPLATEVERIFY. |