aboutsummaryrefslogtreecommitdiff
path: root/src/test/transaction_tests.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-02-24 12:55:43 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-02-24 12:57:03 +0200
commitdf8f2a11dcadd08840c5311631132a522650a83e (patch)
tree70377eefab16b37aaafd346a455c607f092ee210 /src/test/transaction_tests.cpp
parentb59f2787e53318caad6d3292de2cc6e17995d277 (diff)
test: Replace accidentally placed bit-OR with logical-OR
Diffstat (limited to 'src/test/transaction_tests.cpp')
-rw-r--r--src/test/transaction_tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/transaction_tests.cpp b/src/test/transaction_tests.cpp
index d1770f750f..8f1d99b199 100644
--- a/src/test/transaction_tests.cpp
+++ b/src/test/transaction_tests.cpp
@@ -63,7 +63,7 @@ static std::map<std::string, unsigned int> mapFlagNames = {
unsigned int ParseScriptFlags(std::string strFlags)
{
- if (strFlags.empty() | strFlags == "NONE") return 0;
+ if (strFlags.empty() || strFlags == "NONE") return 0;
unsigned int flags = 0;
std::vector<std::string> words;
boost::algorithm::split(words, strFlags, boost::algorithm::is_any_of(","));