mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-08-31 14:51:23 +02:00
test: Replace accidentally placed bit-OR with logical-OR
This commit is contained in:
@@ -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(","));
|
||||
|
Reference in New Issue
Block a user