diff options
author | JaSK <temp@temp.temp> | 2014-07-12 17:15:17 +0200 |
---|---|---|
committer | JaSK <temp@temp.temp> | 2014-07-14 13:01:06 +0200 |
commit | d512534cd71ebdb67bf0cb2a377dc7c2b06ba438 (patch) | |
tree | 9fa5a569d52c5e49f47e4e50f8fef4cf5e2819ff /src | |
parent | 6513a9f7033737458735305a08606280d6d0d33c (diff) |
Fixed error in 'getbalance' when using watchonly addresses.
Diffstat (limited to 'src')
-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 8d27da9d40..a754c1cd5f 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -845,7 +845,7 @@ void CWalletTx::GetAmounts(list<pair<CTxDestination, int64_t> >& listReceived, listSent.push_back(make_pair(address, txout.nValue)); // If we are receiving the output, add it as a "received" entry - if (fIsMine) + if (fIsMine & filter) listReceived.push_back(make_pair(address, txout.nValue)); } |