diff options
author | BtcDrak <btcdrak@gmail.com> | 2016-02-16 09:39:44 +0000 |
---|---|---|
committer | BtcDrak <btcdrak@gmail.com> | 2016-03-18 09:14:52 +0000 |
commit | c8d309e4b4d82dd233f167b4df503e6a5b4164ef (patch) | |
tree | a40900ef2b25b3d6cb470697be51798b86866d50 | |
parent | 6170506fdf920e1cb07c086be670ad624cb04241 (diff) |
Code style fix.
This if statement is a little obtuse and using braces here
improves readability.
-rw-r--r-- | src/script/interpreter.cpp | 3 |
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. |