aboutsummaryrefslogtreecommitdiff
path: root/src/wallet.cpp
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2011-06-18 21:50:05 -0400
committerJeff Garzik <jgarzik@pobox.com>2011-06-18 21:50:05 -0400
commitaa0c5e87e8000791009fac1cb394a36a94016d9f (patch)
treec52188568b7b00edcf366920207cfdd0e326a437 /src/wallet.cpp
parenta6b211596323a8f2de20f8ab97e38969bece30fb (diff)
downloadbitcoin-aa0c5e87e8000791009fac1cb394a36a94016d9f.tar.xz
CWalletTx::GetAmounts(): pass NULL for CKeyStore*, rather than false
to fix warning.
Diffstat (limited to 'src/wallet.cpp')
-rw-r--r--src/wallet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet.cpp b/src/wallet.cpp
index aef8d180e4..7a65b2a572 100644
--- 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
{