Merge 1b151e3ffc into merged_master (Bitcoin PR #18532)

This commit is contained in:
Andrew Poelstra 2020-11-26 01:08:13 +00:00
commit c8909955fa
6 changed files with 12 additions and 12 deletions

View file

@ -1525,6 +1525,8 @@ UniValue testproposedblock(const JSONRPCRequest& request)
// END ELEMENTS
//
void RegisterMiningRPCCommands(CRPCTable &t)
{
// clang-format off
static const CRPCCommand commands[] =
@ -1555,8 +1557,6 @@ static const CRPCCommand commands[] =
};
// clang-format on
void RegisterMiningRPCCommands(CRPCTable &t)
{
for (unsigned int vcidx = 0; vcidx < ARRAYLEN(commands); vcidx++)
t.appendCommand(commands[vcidx].name, &commands[vcidx]);
}