diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-02-24 12:55:43 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-02-24 12:57:03 +0200 |
commit | df8f2a11dcadd08840c5311631132a522650a83e (patch) | |
tree | 70377eefab16b37aaafd346a455c607f092ee210 | |
parent | b59f2787e53318caad6d3292de2cc6e17995d277 (diff) |
test: Replace accidentally placed bit-OR with logical-OR
-rw-r--r-- | src/test/transaction_tests.cpp | 2 |
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(",")); |