git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(from parent 1:
39e6d29
)
Fix compilation error.
author
CryptoManiac
<balthazar@yandex.ru>
Sun, 14 Feb 2016 17:04:24 +0000 (20:04 +0300)
committer
CryptoManiac
<balthazar@yandex.ru>
Sun, 14 Feb 2016 17:04:24 +0000 (20:04 +0300)
src/main.cpp
patch
|
blob
|
history
diff --git
a/src/main.cpp
b/src/main.cpp
index
68ae6a2
..
8a96379
100644
(file)
--- a/
src/main.cpp
+++ b/
src/main.cpp
@@
-1190,7
+1190,7
@@
const CBlockIndex* GetLastBlockIndex(const CBlockIndex* pindex, bool fProofOfSta
unsigned int GetNextTargetRequired(const CBlockIndex* pindexLast, bool fProofOfStake)
{
if (pindexLast == NULL)
- return bnTargetLimit.GetCompact(); // genesis block
+ return bnProofOfWorkLimit.GetCompact(); // genesis block
CBigNum bnTargetLimit = !fProofOfStake ? bnProofOfWorkLimit : GetProofOfStakeLimit(pindexLast->nHeight, pindexLast->nTime);