diff --git a/src/test/transaction_tests.cpp b/src/test/transaction_tests.cpp index 57d4f8e4a4..3d8867b551 100644 --- a/src/test/transaction_tests.cpp +++ b/src/test/transaction_tests.cpp @@ -53,7 +53,7 @@ static std::map 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 words = SplitString(strFlags, ',');