Skip to content

Commit

Permalink
cgminer bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Marconi Pereira Soldate committed Jan 20, 2025
1 parent bd1eb6c commit ceee3dc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/rpc/mining.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -974,6 +974,11 @@ static RPCHelpMan getblocktemplate()
result.pushKV("bits", strprintf("%08x", block.nBits));
result.pushKV("height", (int64_t)(pindexPrev->nHeight+1));

// cgminer bug
UniValue coinbaseaux(UniValue::VOBJ);
coinbaseaux.pushKV("flags", "");
result.pushKV("coinbaseaux", std::move(coinbaseaux));

if (consensusParams.signet_blocks) {
result.pushKV("signet_challenge", HexStr(consensusParams.signet_challenge));
}
Expand Down

0 comments on commit ceee3dc

Please sign in to comment.