File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -231,7 +231,8 @@ static bool rest_headers(const std::any& context,
231
231
}
232
232
}
233
233
234
- static bool rest_block (HTTPRequest* req,
234
+ static bool rest_block (const std::any& context,
235
+ HTTPRequest* req,
235
236
const std::string& strURIPart,
236
237
bool showTxDetails)
237
238
{
@@ -297,12 +298,12 @@ static bool rest_block(HTTPRequest* req,
297
298
298
299
static bool rest_block_extended (const std::any& context, HTTPRequest* req, const std::string& strURIPart)
299
300
{
300
- return rest_block (req, strURIPart, true );
301
+ return rest_block (context, req, strURIPart, true );
301
302
}
302
303
303
304
static bool rest_block_notxdetails (const std::any& context, HTTPRequest* req, const std::string& strURIPart)
304
305
{
305
- return rest_block (req, strURIPart, false );
306
+ return rest_block (context, req, strURIPart, false );
306
307
}
307
308
308
309
// A bit of a hack - dependency on a function defined in rpc/blockchain.cpp
You can’t perform that action at this time.
0 commit comments