Skip to content

Commit 71197ce

Browse files
committed
"uint" to "unsigned int" fixes.
1 parent 9810dc3 commit 71197ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/wallet/spend.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1364,7 +1364,7 @@ std::pair<unsigned int, bool> CalculateDeniabilizationCycles(CWallet& wallet, co
13641364

13651365
// all txOut should belong to our wallet
13661366
Assert(outpoint.n < tx->vout.size());
1367-
uint n = 0;
1367+
unsigned int n = 0;
13681368
for (const auto& txOut : tx->vout) {
13691369
if (wallet.IsMine(txOut) == ISMINE_NO) {
13701370
Assert(n != outpoint.n);
@@ -1373,7 +1373,7 @@ std::pair<unsigned int, bool> CalculateDeniabilizationCycles(CWallet& wallet, co
13731373
n++;
13741374
}
13751375

1376-
uint uniqueTxOutCount = 0;
1376+
unsigned int uniqueTxOutCount = 0;
13771377
for (const auto& txOut : tx->vout) {
13781378
// check if it's a valid destination
13791379
CTxDestination txOutDestination;
@@ -1398,7 +1398,7 @@ std::pair<unsigned int, bool> CalculateDeniabilizationCycles(CWallet& wallet, co
13981398
}
13991399

14001400
// we consider two or more unique outputs an "deniabilization" of the coin
1401-
uint deniabilizationCycles = uniqueTxOutCount >= 2 ? 1 : 0;
1401+
unsigned int deniabilizationCycles = uniqueTxOutCount >= 2 ? 1 : 0;
14021402

14031403
// all txIn and txOut are from our wallet
14041404
// however if we have multiple txIn this was either an initial deniabilization of multiple UTXOs or the user manually merged deniabilized UTXOs

0 commit comments

Comments
 (0)