git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
b5ce569
)
PPCoin: Fix coinstake creation since 2a7d702
author
Sunny King
<sunnyking9999@gmail.com>
Mon, 17 Sep 2012 02:46:40 +0000 (
03:46
+0100)
committer
Sunny King
<sunnyking9999@gmail.com>
Mon, 17 Sep 2012 02:46:40 +0000 (
03:46
+0100)
src/wallet.cpp
patch
|
blob
|
history
diff --git
a/src/wallet.cpp
b/src/wallet.cpp
index
be75141
..
1066dff
100644
(file)
--- a/
src/wallet.cpp
+++ b/
src/wallet.cpp
@@
-1247,7
+1247,7
@@
bool CWallet::CreateCoinStake(const CKeyStore& keystore, unsigned int nBits, int
CBlock block;
if (!block.ReadFromDisk(txindex.pos.nFile, txindex.pos.nBlockPos, false))
continue;
- if (block.GetBlockTime() + nStakeMinAge > txNew.nTime)
+ if (block.GetBlockTime() + nStakeMinAge > txNew.nTime - (60 * 60 * 2))
continue; // only count coins meeting min age requirement
int64 nValueIn = pcoin.first->vout[pcoin.second].nValue;