diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-07-14 13:05:20 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-07-14 13:16:11 +0200 |
| commit | d5a6b785e3673f89bae6424fbf43ba9c3c3073b4 (patch) | |
| tree | 9fa5a569d52c5e49f47e4e50f8fef4cf5e2819ff /src/wallet.cpp | |
| parent | Merge pull request #4400 (diff) | |
| parent | Fixed error in 'getbalance' when using watchonly addresses. (diff) | |
| download | discoin-d5a6b785e3673f89bae6424fbf43ba9c3c3073b4.tar.xz discoin-d5a6b785e3673f89bae6424fbf43ba9c3c3073b4.zip | |
Merge pull request #4525
d512534 Fixed error in 'getbalance' when using watchonly addresses. (JaSK)
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 8d27da9d4..a754c1cd5 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)); } |