mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-19 09:53:47 +01:00
test: Replace accidentally placed bit-OR with logical-OR
This commit is contained in:
parent
b59f2787e5
commit
df8f2a11dc
@ -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(","));
|
||||
|
Loading…
Reference in New Issue
Block a user