fixed splitting for big wallets

This commit is contained in:
Evan Duffield 2014-08-26 06:53:55 -07:00
parent c266d57a2a
commit 03ccdadf52

View File

@ -7275,6 +7275,7 @@ bool CDarkSendPool::SplitUpMoney(bool justCollateral)
int64 a = nTotalBalance/5; int64 a = nTotalBalance/5;
if(a > 900*COIN) a = 900*COIN; if(a > 900*COIN) a = 900*COIN;
if(a > nAnonymizeDarkcoinAmount*COIN) a = nAnonymizeDarkcoinAmount*COIN;
LogPrintf(" auto-- split amount %"PRI64d"\n", a); LogPrintf(" auto-- split amount %"PRI64d"\n", a);