summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke-Jr <luke_github1@dashjr.org>2015-12-07 20:34:40 +0000
committerLuke-Jr <luke_github1@dashjr.org>2015-12-07 20:34:40 +0000
commit44f021979ad0a7ce81c6449345d661ed68a61932 (patch)
tree110793ed2778e2edc4a6e3a8b4e4e6cec9b18061
parent9d3b68f8c487cdada8e605aa584f25b1418981a7 (diff)
parentac4cd1d46cf64b67f6d2d4376119a7d18728ce4b (diff)
downloadbips-44f021979ad0a7ce81c6449345d661ed68a61932.tar.xz
Merge pull request #252 from jl2012/patch-5
Corrections with the conditions for script failure
-rw-r--r--bip-0112.mediawiki3
1 files changed, 2 insertions, 1 deletions
diff --git a/bip-0112.mediawiki b/bip-0112.mediawiki
index c7ee45e..643c617 100644
--- a/bip-0112.mediawiki
+++ b/bip-0112.mediawiki
@@ -22,10 +22,11 @@ being spent.
CHECKSEQUENCEVERIFY redefines the existing NOP3 opcode.
When executed, if any of the following conditions are true, the script interpreter will terminate with an error:
+* the stack is empty; or
* the top item on the stack is less than 0; or
* the top item on the stack has the disable flag (1 << 31) unset; and
** the transaction version is less than 2; or
-** the transaction input sequence number disable flag (1 << 31) is set; and
+** the transaction input sequence number disable flag (1 << 31) is set; or
** the relative lock-time type is not the same; or
** the top stack item is greater than the transaction sequence (when masked according to the BIP68);