diff --git a/ch05.asciidoc b/ch05.asciidoc index 6a5bfefa..78c0b2ee 100644 --- a/ch05.asciidoc +++ b/ch05.asciidoc @@ -302,7 +302,7 @@ image::images/msbt_0502.png["TxScriptSimpleMathExample"] The following is a slightly more complex script, which calculates ++2 + 7 – 3 + 1++. Notice that when the script contains several operators in a row, the stack allows the results of one operator to be acted upon by the next operator: ---- -2 3 OP_ADD 2 OP_MUL 1 OP_ADD 11 OP_EQUAL +2 7 OP_ADD 3 OP_SUB 1 OP_ADD 7 OP_EQUAL ---- Try validating the preceding script yourself using pencil and paper. When the script execution ends, you should be left with the value TRUE on the stack.