From d0f0d04407368a7d1824e04b0bd10ce85f5b6523 Mon Sep 17 00:00:00 2001 From: Michel van Kessel Date: Sun, 22 Nov 2020 13:51:02 +0100 Subject: [PATCH] add 100 inputs to reach GetStakeCombineThreshold()) --- src/wallet/wallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index ccc35dc9b..4a04b2e4b 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -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)