mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
block header commits to height
This commit is contained in:
parent
15275158b8
commit
e637e5a5da
6 changed files with 22 additions and 1 deletions
|
|
@ -553,6 +553,9 @@ UniValue getblocktemplate(const UniValue& params, bool fHelp)
|
|||
// NOTE: If at some point we support pre-segwit miners post-segwit-activation, this needs to take segwit support into consideration
|
||||
const bool fPreSegWit = (THRESHOLD_ACTIVE != VersionBitsState(pindexPrev, consensusParams, Consensus::DEPLOYMENT_SEGWIT, versionbitscache));
|
||||
|
||||
// Update height in header
|
||||
pblock->nHeight = pindexPrev->nHeight+1;
|
||||
|
||||
UniValue aCaps(UniValue::VARR); aCaps.push_back("proposal");
|
||||
|
||||
UniValue transactions(UniValue::VARR);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue