fix PrepareDarksendDenominate - loop instead of if
This commit is contained in:
parent
12863bb423
commit
d766b6b564
@ -2376,7 +2376,7 @@ string CWallet::PrepareDarksendDenominate(int minRounds, int maxRounds)
|
||||
int nOutputs = 0;
|
||||
|
||||
// add each output up to 10 times until it can't be added again
|
||||
if(nValueLeft - v >= 0 && nOutputs <= 10) {
|
||||
while(nValueLeft - v >= 0 && nOutputs <= 10) {
|
||||
CScript scriptChange;
|
||||
CPubKey vchPubKey;
|
||||
//use a unique change address
|
||||
|
Loading…
Reference in New Issue
Block a user