Skip to content

Commit df8f2a1

Browse files
committed
test: Replace accidentally placed bit-OR with logical-OR
1 parent b59f278 commit df8f2a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/transaction_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ static std::map<std::string, unsigned int> mapFlagNames = {
6363

6464
unsigned int ParseScriptFlags(std::string strFlags)
6565
{
66-
if (strFlags.empty() | strFlags == "NONE") return 0;
66+
if (strFlags.empty() || strFlags == "NONE") return 0;
6767
unsigned int flags = 0;
6868
std::vector<std::string> words;
6969
boost::algorithm::split(words, strFlags, boost::algorithm::is_any_of(","));

0 commit comments

Comments
 (0)