add 100 inputs to reach GetStakeCombineThreshold())
This commit is contained in:
@@ -806,7 +806,7 @@ bool CWallet::CreateCoinStake(const CKeyStore& keystore, unsigned int nBits, int
|
||||
&& pcoin.first->GetHash() != txNew.vin[0].prevout.hash)
|
||||
{
|
||||
// Stop adding more inputs if already too many inputs
|
||||
if (txNew.vin.size() >= 200)
|
||||
if (txNew.vin.size() >= 100)
|
||||
break;
|
||||
// Stop adding inputs if reached reserve limit
|
||||
if (nCredit + pcoin.first->vout[pcoin.second].nValue > nBalance - nReserveBalance)
|
||||
|
||||
Reference in New Issue
Block a user