diff --git a/src/rpc/mining.cpp b/src/rpc/mining.cpp index 9876a9920..57187ddc6 100644 --- a/src/rpc/mining.cpp +++ b/src/rpc/mining.cpp @@ -659,6 +659,9 @@ UniValue getblocktemplate(const UniValue& params, bool fHelp) result.push_back(Pair("bits", strprintf("%08x", pblock->nBits))); result.push_back(Pair("height", (int64_t)(pindexPrev->nHeight+1))); + if (pclaimTrie) + result.push_back(Pair("claimtrie", pclaimTrie->getMerkleHash().GetHex())); + return result; }