Skip to content

Commit

Permalink
Merge pull request bitcoin#979 from dgenr8/patch-1
Browse files Browse the repository at this point in the history
Update bip-0119.mediawiki
  • Loading branch information
luke-jr authored Oct 5, 2020
2 parents 7f75cc0 + 4a4f593 commit d701794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bip-0119.mediawiki
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d701794

Please sign in to comment.