mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-21 05:02:34 +02:00
[refactor] various style fix-ups
This commit is contained in:
@ -341,11 +341,10 @@ static bool rest_block_notxdetails(const std::any& context, HTTPRequest* req, co
|
||||
return rest_block(context, req, strURIPart, TxVerbosity::SHOW_TXID);
|
||||
}
|
||||
|
||||
|
||||
static bool rest_filter_header(const std::any& context, HTTPRequest* req, const std::string& strURIPart)
|
||||
{
|
||||
if (!CheckWarmup(req))
|
||||
return false;
|
||||
if (!CheckWarmup(req)) return false;
|
||||
|
||||
std::string param;
|
||||
const RetFormat rf = ParseDataFormat(param, strURIPart);
|
||||
|
||||
@ -454,8 +453,8 @@ static bool rest_filter_header(const std::any& context, HTTPRequest* req, const
|
||||
|
||||
static bool rest_block_filter(const std::any& context, HTTPRequest* req, const std::string& strURIPart)
|
||||
{
|
||||
if (!CheckWarmup(req))
|
||||
return false;
|
||||
if (!CheckWarmup(req)) return false;
|
||||
|
||||
std::string param;
|
||||
const RetFormat rf = ParseDataFormat(param, strURIPart);
|
||||
|
||||
|
Reference in New Issue
Block a user