git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Cache scrypt hashes on disk
[novacoin.git]
/
src
/
miner.cpp
diff --git
a/src/miner.cpp
b/src/miner.cpp
index
5ae487c
..
bdae5c7
100644
(file)
--- a/
src/miner.cpp
+++ b/
src/miner.cpp
@@
-125,7
+125,7
@@
CBlock* CreateNewBlock(CWallet* pwallet, bool fProofOfStake)
if (!fProofOfStake)
{
CReserveKey reservekey(pwallet);
- txNew.vout[0].scriptPubKey << reservekey.GetReservedKey() << OP_CHECKSIG;
+ txNew.vout[0].scriptPubKey.SetDestination(reservekey.GetReservedKey().GetID());
}
else
txNew.vout[0].SetEmpty();