aboutsummaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2022-04-06 15:41:11 +0200
committerMarcoFalke <falke.marco@gmail.com>2022-04-06 15:37:07 +0200
commitffffb7a25a7cb5370ac1ed8dee4c7197a77afde8 (patch)
tree990bc31c6d79845e3e26213f51d1ca10666c3057 /src/script
parentce33194ea0ca0b15281386e5c23d70346633b184 (diff)
doc: Convert remaining comments to clang-tidy format
Diffstat (limited to 'src/script')
-rw-r--r--src/script/miniscript.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/script/miniscript.h b/src/script/miniscript.h
index b54653c548..5c1cc316dc 100644
--- a/src/script/miniscript.h
+++ b/src/script/miniscript.h
@@ -1503,27 +1503,27 @@ inline NodeRef<Key> DecodeScript(I& in, I last, const Ctx& ctx)
}
case DecodeContext::AND_V: {
if (constructed.size() < 2) return {};
- BuildBack(Fragment::AND_V, constructed, /* reverse */ true);
+ BuildBack(Fragment::AND_V, constructed, /*reverse=*/true);
break;
}
case DecodeContext::AND_B: {
if (constructed.size() < 2) return {};
- BuildBack(Fragment::AND_B, constructed, /* reverse */ true);
+ BuildBack(Fragment::AND_B, constructed, /*reverse=*/true);
break;
}
case DecodeContext::OR_B: {
if (constructed.size() < 2) return {};
- BuildBack(Fragment::OR_B, constructed, /* reverse */ true);
+ BuildBack(Fragment::OR_B, constructed, /*reverse=*/true);
break;
}
case DecodeContext::OR_C: {
if (constructed.size() < 2) return {};
- BuildBack(Fragment::OR_C, constructed, /* reverse */ true);
+ BuildBack(Fragment::OR_C, constructed, /*reverse=*/true);
break;
}
case DecodeContext::OR_D: {
if (constructed.size() < 2) return {};
- BuildBack(Fragment::OR_D, constructed, /* reverse */ true);
+ BuildBack(Fragment::OR_D, constructed, /*reverse=*/true);
break;
}
case DecodeContext::ANDOR: {
@@ -1607,7 +1607,7 @@ inline NodeRef<Key> DecodeScript(I& in, I last, const Ctx& ctx)
if (in >= last) return {};
if (in[0].first == OP_IF) {
++in;
- BuildBack(Fragment::OR_I, constructed, /* reverse */ true);
+ BuildBack(Fragment::OR_I, constructed, /*reverse=*/true);
} else if (in[0].first == OP_NOTIF) {
++in;
to_parse.emplace_back(DecodeContext::ANDOR, -1, -1);