From ac4cd1d46cf64b67f6d2d4376119a7d18728ce4b Mon Sep 17 00:00:00 2001 From: jl2012 Date: Tue, 1 Dec 2015 01:47:16 +0800 Subject: [PATCH] Corrections with the conditions for script failure --- bip-0112.mediawiki | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bip-0112.mediawiki b/bip-0112.mediawiki index c7ee45e8..643c6176 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);