remove send addresses from listreceivedbyaddress output (#1664)

This commit is contained in:
Ilya Savinov 2017-10-04 22:34:14 +03:00 committed by UdjinM6
parent 72ef788c5f
commit 8c1e5e8384

View File

@ -1272,6 +1272,10 @@ UniValue ListReceived(const UniValue& params, bool fByAccounts)
if (it == mapTally.end() && !fIncludeEmpty)
continue;
isminefilter mine = IsMine(*pwalletMain, address.Get());
if(!(mine & filter))
continue;
CAmount nAmount = 0;
int nConf = std::numeric_limits<int>::max();
bool fIsWatchonly = false;