upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/rpc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rpc.cpp')
-rw-r--r--src/rpc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc.cpp b/src/rpc.cpp
index 1b529e8..3b2dae9 100644
--- a/src/rpc.cpp
+++ b/src/rpc.cpp
@@ -182,7 +182,7 @@ static bool RebuildJob()
182 } 182 }
183 } 183 }
184 184
185 block.vtx[0].vout[0].nValue = block.GetBlockValue(0); 185 block.vtx[0].vout[0].nValue = block.GetBlockValue(pindexPrev->nHeight + 1, 0);
186 block.hashPrevBlock = pindexPrev->GetBlockHash(); 186 block.hashPrevBlock = pindexPrev->GetBlockHash();
187 block.hashMerkleRoot = block.BuildMerkleTree(); 187 block.hashMerkleRoot = block.BuildMerkleTree();
188 block.nTime = max((unsigned int)(pindexPrev->GetMedianTimePast() + 1), 188 block.nTime = max((unsigned int)(pindexPrev->GetMedianTimePast() + 1),