Browse Source

Remove the calculation of foundersreward, which does not exist in Hush

pull/55/head
Jonathan "Duke" Leto 7 years ago
parent
commit
1eecc5e44f
  1. 5
      src/rpcmining.cpp

5
src/rpcmining.cpp

@ -677,11 +677,6 @@ UniValue getblocktemplate(const UniValue& params, bool fHelp)
entry.push_back(Pair("sigops", pblocktemplate->vTxSigOps[index_in_template]));
if (tx.IsCoinBase()) {
// Show founders' reward if it is required
if (pblock->vtx[0].vout.size() > 1) {
// Correct this if GetBlockTemplate changes the order
entry.push_back(Pair("foundersreward", (int64_t)tx.vout[1].nValue));
}
entry.push_back(Pair("required", true));
txCoinbase = entry;
} else {

Loading…
Cancel
Save