diff options
| author | Pieter Wuille <[email protected]> | 2011-07-26 10:43:00 -0700 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2011-07-26 10:43:00 -0700 |
| commit | aa7c5e7ceb87d0309349b89c1ad5e388cf6828a4 (patch) | |
| tree | 83715fff9d1c9c428bc1d806316c1aad94578793 /src/wallet.cpp | |
| parent | Merge pull request #434 from laanwj/addkey_retval (diff) | |
| parent | Bugfix: don't overuse limited ExtractAddress (diff) | |
| download | discoin-aa7c5e7ceb87d0309349b89c1ad5e388cf6828a4.tar.xz discoin-aa7c5e7ceb87d0309349b89c1ad5e388cf6828a4.zip | |
Merge pull request #435 from sipa/fixextract
Bugfix: don't overuse limited ExtractAddress
Diffstat (limited to 'src/wallet.cpp')
| -rw-r--r-- | src/wallet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet.cpp b/src/wallet.cpp index 8c4903b19..1f3f44bfa 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -437,7 +437,7 @@ void CWalletTx::GetAmounts(int64& nGeneratedImmature, int64& nGeneratedMature, l { CBitcoinAddress address; vector<unsigned char> vchPubKey; - if (!ExtractAddress(txout.scriptPubKey, pwallet, address)) + if (!ExtractAddress(txout.scriptPubKey, NULL, address)) { printf("CWalletTx::GetAmounts: Unknown transaction type found, txid %s\n", this->GetHash().ToString().c_str()); |