rpc: Register calls where they are defined
This commit is contained in:
committed by
lateminer
parent
36888feaff
commit
b460adbab0
@@ -272,6 +272,9 @@ static bool rest_block_notxdetails(HTTPRequest* req, const std::string& strURIPa
|
||||
return rest_block(req, strURIPart, false);
|
||||
}
|
||||
|
||||
// A bit of a hack - dependency on a function defined in rpc/blockchain.cpp
|
||||
UniValue getblockchaininfo(const UniValue& params, bool fHelp);
|
||||
|
||||
static bool rest_chaininfo(HTTPRequest* req, const std::string& strURIPart)
|
||||
{
|
||||
if (!CheckWarmup(req))
|
||||
|
||||
Reference in New Issue
Block a user