Skip to content

Commit

Permalink
Fix OP_CS multiple
Browse files Browse the repository at this point in the history
  • Loading branch information
scrypt committed Oct 17, 2023
1 parent 3cef168 commit f3e32e6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/advanced/codeseparator.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Part 5, `scriptCode`, usually contains the entire smart contract, i.e., locking

![](../../static/img/opcs.png)

If multiple instances of `OP_CODESEPARATOR` are present, a subsequent `checkSig` will only use the part of the locking script after (and including) **the most recent** occurrence of `OP_CODESEPARATOR` as the `scriptCode`.
If multiple instances of `OP_CODESEPARATOR` are present, a subsequent `checkSig` will only use the part of the locking script after **the most recent** occurrence of `OP_CODESEPARATOR` as the `scriptCode`.

![](../../static/img/opcs_mul.jpg)

Expand Down
Binary file modified static/img/opcs_mul.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f3e32e6

Please sign in to comment.