mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 23:03:45 +01:00
rest: reformat uri_prefixes initializer list
There was an extra indentation level (found during #33657):
```
$ git show -U0 07135290c1 | ./contrib/devtools/clang-format-diff.py -p1 -i -v
```
This commit is contained in:
28
src/rest.cpp
28
src/rest.cpp
@@ -1142,20 +1142,20 @@ static const struct {
|
||||
const char* prefix;
|
||||
bool (*handler)(const std::any& context, HTTPRequest* req, const std::string& strReq);
|
||||
} uri_prefixes[] = {
|
||||
{"/rest/tx/", rest_tx},
|
||||
{"/rest/block/notxdetails/", rest_block_notxdetails},
|
||||
{"/rest/block/", rest_block_extended},
|
||||
{"/rest/blockpart/", rest_block_part},
|
||||
{"/rest/blockfilter/", rest_block_filter},
|
||||
{"/rest/blockfilterheaders/", rest_filter_header},
|
||||
{"/rest/chaininfo", rest_chaininfo},
|
||||
{"/rest/mempool/", rest_mempool},
|
||||
{"/rest/headers/", rest_headers},
|
||||
{"/rest/getutxos", rest_getutxos},
|
||||
{"/rest/deploymentinfo/", rest_deploymentinfo},
|
||||
{"/rest/deploymentinfo", rest_deploymentinfo},
|
||||
{"/rest/blockhashbyheight/", rest_blockhash_by_height},
|
||||
{"/rest/spenttxouts/", rest_spent_txouts},
|
||||
{"/rest/tx/", rest_tx},
|
||||
{"/rest/block/notxdetails/", rest_block_notxdetails},
|
||||
{"/rest/block/", rest_block_extended},
|
||||
{"/rest/blockpart/", rest_block_part},
|
||||
{"/rest/blockfilter/", rest_block_filter},
|
||||
{"/rest/blockfilterheaders/", rest_filter_header},
|
||||
{"/rest/chaininfo", rest_chaininfo},
|
||||
{"/rest/mempool/", rest_mempool},
|
||||
{"/rest/headers/", rest_headers},
|
||||
{"/rest/getutxos", rest_getutxos},
|
||||
{"/rest/deploymentinfo/", rest_deploymentinfo},
|
||||
{"/rest/deploymentinfo", rest_deploymentinfo},
|
||||
{"/rest/blockhashbyheight/", rest_blockhash_by_height},
|
||||
{"/rest/spenttxouts/", rest_spent_txouts},
|
||||
};
|
||||
|
||||
void StartREST(const std::any& context)
|
||||
|
||||
Reference in New Issue
Block a user