mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-15 09:52:40 +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);
|
return rest_block(context, req, strURIPart, TxVerbosity::SHOW_TXID);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static bool rest_filter_header(const std::any& context, HTTPRequest* req, const std::string& strURIPart)
|
static bool rest_filter_header(const std::any& context, HTTPRequest* req, const std::string& strURIPart)
|
||||||
{
|
{
|
||||||
if (!CheckWarmup(req))
|
if (!CheckWarmup(req)) return false;
|
||||||
return false;
|
|
||||||
std::string param;
|
std::string param;
|
||||||
const RetFormat rf = ParseDataFormat(param, strURIPart);
|
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)
|
static bool rest_block_filter(const std::any& context, HTTPRequest* req, const std::string& strURIPart)
|
||||||
{
|
{
|
||||||
if (!CheckWarmup(req))
|
if (!CheckWarmup(req)) return false;
|
||||||
return false;
|
|
||||||
std::string param;
|
std::string param;
|
||||||
const RetFormat rf = ParseDataFormat(param, strURIPart);
|
const RetFormat rf = ParseDataFormat(param, strURIPart);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user