Match va_start and va_end calls, pointed by clang-tidy #176
1 changed files with 3 additions and 0 deletions
|
@ -659,6 +659,9 @@ UniValue getblocktemplate(const UniValue& params, bool fHelp)
|
||||||
result.push_back(Pair("bits", strprintf("%08x", pblock->nBits)));
|
result.push_back(Pair("bits", strprintf("%08x", pblock->nBits)));
|
||||||
result.push_back(Pair("height", (int64_t)(pindexPrev->nHeight+1)));
|
result.push_back(Pair("height", (int64_t)(pindexPrev->nHeight+1)));
|
||||||
|
|
||||||
|
if (pclaimTrie)
|
||||||
|
result.push_back(Pair("claimtrie", pclaimTrie->getMerkleHash().GetHex()));
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue