We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eaa9400 commit 5bb7655Copy full SHA for 5bb7655
src/wallet.cpp
@@ -815,7 +815,7 @@ void CWalletTx::GetAmounts(list<COutputEntry>& listReceived,
815
}
816
817
// Sent/received.
818
- for (int i = 0; i < vout.size(); ++i)
+ for (unsigned int i = 0; i < vout.size(); ++i)
819
{
820
const CTxOut& txout = vout[i];
821
isminetype fIsMine = pwallet->IsMine(txout);
@@ -840,7 +840,7 @@ void CWalletTx::GetAmounts(list<COutputEntry>& listReceived,
840
address = CNoDestination();
841
842
843
- COutputEntry output = {address, txout.nValue, i};
+ COutputEntry output = {address, txout.nValue, (int)i};
844
845
// If we are debited by the transaction, add the output as a "sent" entry
846
if (nDebit > 0)
0 commit comments