mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
Improved support for adding DRK after anon has completed
This commit is contained in:
parent
f2c21fd1e7
commit
12e8fd0461
@ -1425,8 +1425,8 @@ bool CDarkSendPool::DoAutomaticDenominating(bool fDryRun, bool ready)
|
||||
|
||||
// If we can find only denominated funds, switch to only-denom mode
|
||||
if (!pwalletMain->SelectCoinsDark(nValueMin, maxAmount*COIN, vCoins, nValueIn, -2, 2, hasFeeInput) &&
|
||||
pwalletMain->SelectCoinsDark(nValueMin, maxAmount*COIN, vCoins, nValueIn, 0, 8, hasFeeInput)) {
|
||||
minRounds = 0;
|
||||
pwalletMain->SelectCoinsDark(nValueMin, maxAmount*COIN, vCoins, nValueIn, 2, 8, hasFeeInput)) {
|
||||
minRounds = 2;
|
||||
maxRounds = nDarksendRounds;
|
||||
}
|
||||
//if we're set to less than a thousand, don't submit for than that to the pool
|
||||
|
Loading…
Reference in New Issue
Block a user