Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backport: bitcoin#19698, #20079, #20566, #20715, #20868, #21012, #21188, #21200, #21205, #21211, #21293 #6069

Merged
merged 11 commits into from
Jun 21, 2024
Merged
Prev Previous commit
Next Next commit
Merge bitcoin#21293: test: Replace accidentally placed bit-OR with lo…
…gical-OR

df8f2a1 test: Replace accidentally placed bit-OR with logical-OR (Hennadii Stepanov)

Pull request description:

  This PR is a follow up of bitcoin#19698.

ACKs for top commit:
  glozow:
    utACK bitcoin@df8f2a1

Tree-SHA512: 36aba3e952850deafe78dd39775a568e89e867c8a352f511f152bce7062f614f5bb4f23266dbb33da5292c9ee6da5ccefce117e3168621c71d2140c8e7f58460
  • Loading branch information
laanwj authored and knst committed Jun 20, 2024
commit 4ab6aa45989ac17183173d569369c7f32ec2a1ea
2 changes: 1 addition & 1 deletion src/test/transaction_tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,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 = SplitString(strFlags, ',');

Expand Down