Return more stake outputs, including those thought to be change, fix cheatcatcher error reporting

This commit is contained in:
miketout
2018-11-01 19:23:23 -07:00
parent 99c94fc3f2
commit 73b4d69673
5 changed files with 7 additions and 6 deletions

View File

@@ -2583,7 +2583,7 @@ void CWalletTx::GetAmounts(list<COutputEntry>& listReceived,
if (nDebit > 0)
{
// Don't report 'change' txouts
if (pwallet->IsChange(txout))
if (!(filter & ISMINE_CHANGE) && pwallet->IsChange(txout))
continue;
}
else if (!(fIsMine & filter))