Skip to content

Commit 9307c58

Browse files
committed
Merge #21293: test: Replace accidentally placed bit-OR with logical-OR
df8f2a1 test: Replace accidentally placed bit-OR with logical-OR (Hennadii Stepanov) Pull request description: This PR is a follow up of #19698. ACKs for top commit: glozow: utACK bitcoin/bitcoin@df8f2a1 Tree-SHA512: 36aba3e952850deafe78dd39775a568e89e867c8a352f511f152bce7062f614f5bb4f23266dbb33da5292c9ee6da5ccefce117e3168621c71d2140c8e7f58460
2 parents b59f278 + df8f2a1 commit 9307c58

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)