aboutsummaryrefslogtreecommitdiff
path: root/src/rest.cpp
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/rest.cpp
parentce33194ea0ca0b15281386e5c23d70346633b184 (diff)
downloadbitcoin-ffffb7a25a7cb5370ac1ed8dee4c7197a77afde8.tar.xz
doc: Convert remaining comments to clang-tidy format
Diffstat (limited to 'src/rest.cpp')
-rw-r--r--src/rest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rest.cpp b/src/rest.cpp
index 956c7d97d0..a8eba05c3f 100644
--- a/src/rest.cpp
+++ b/src/rest.cpp
@@ -661,7 +661,7 @@ static bool rest_tx(const std::any& context, HTTPRequest* req, const std::string
const NodeContext* const node = GetNodeContext(context, req);
if (!node) return false;
uint256 hashBlock = uint256();
- const CTransactionRef tx = GetTransaction(/* block_index */ nullptr, node->mempool.get(), hash, Params().GetConsensus(), hashBlock);
+ const CTransactionRef tx = GetTransaction(/*block_index=*/nullptr, node->mempool.get(), hash, Params().GetConsensus(), hashBlock);
if (!tx) {
return RESTERR(req, HTTP_NOT_FOUND, hashStr + " not found");
}