git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
a6b2115
)
CWalletTx::GetAmounts(): pass NULL for CKeyStore*, rather than false
author
Jeff Garzik
<jeff@garzik.org>
Sun, 19 Jun 2011 01:50:05 +0000 (21:50 -0400)
committer
Jeff Garzik
<jgarzik@pobox.com>
Sun, 19 Jun 2011 01:50:05 +0000 (21:50 -0400)
to fix warning.
src/wallet.cpp
patch
|
blob
|
history
diff --git
a/src/wallet.cpp
b/src/wallet.cpp
index
aef8d18
..
7a65b2a
100644
(file)
--- a/
src/wallet.cpp
+++ b/
src/wallet.cpp
@@
-274,7
+274,7
@@
void CWalletTx::GetAmounts(int64& nGeneratedImmature, int64& nGeneratedMature, l
vector<unsigned char> vchPubKey;
if (ExtractHash160(txout.scriptPubKey, hash160))
address = Hash160ToAddress(hash160);
- else if (ExtractPubKey(txout.scriptPubKey, false, vchPubKey))
+ else if (ExtractPubKey(txout.scriptPubKey, NULL, vchPubKey))
address = PubKeyToAddress(vchPubKey);
else
{