aboutsummaryrefslogtreecommitdiff
path: root/src/script/interpreter.cpp
diff options
context:
space:
mode:
authorBtcDrak <btcdrak@gmail.com>2016-02-16 09:39:44 +0000
committerBtcDrak <btcdrak@gmail.com>2016-02-16 09:39:44 +0000
commita38107643f3f01cd92a4e6da9e7a9d025770ff37 (patch)
treea56a180a8998c680cc548aa43a5ff3585bc460fb /src/script/interpreter.cpp
parentc3c375226ebf98901849593b8ebfe8e8b69895c2 (diff)
Code style fix.
This if statement is a little obtuse and using braces here improves readability.
Diffstat (limited to 'src/script/interpreter.cpp')
-rw-r--r--src/script/interpreter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/script/interpreter.cpp b/src/script/interpreter.cpp
index d4fe001d7a..149a4f0156 100644
--- a/src/script/interpreter.cpp
+++ b/src/script/interpreter.cpp
@@ -1227,8 +1227,9 @@ bool TransactionSignatureChecker::CheckSequence(const CScriptNum& nSequence) con
if (!(
(txToSequenceMasked < CTxIn::SEQUENCE_LOCKTIME_TYPE_FLAG && nSequenceMasked < CTxIn::SEQUENCE_LOCKTIME_TYPE_FLAG) ||
(txToSequenceMasked >= CTxIn::SEQUENCE_LOCKTIME_TYPE_FLAG && nSequenceMasked >= CTxIn::SEQUENCE_LOCKTIME_TYPE_FLAG)
- ))
+ )) {
return false;
+ }
// Now that we know we're comparing apples-to-apples, the
// comparison is a simple numeric one.