From 5bbdbfd94118afd516c11e05cc9f4309ab1b59fa Mon Sep 17 00:00:00 2001 From: lateminer <9951982+lateminer@users.noreply.github.com> Date: Mon, 29 Jan 2024 23:10:05 +0100 Subject: [PATCH] Revert "pos: Temporarily, do not add any new inputs in the case of a legacy wallet" This reverts commit 55f026ccfe8e6e22d42494abcdf866e0c727c7bb. --- src/wallet/staking.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/wallet/staking.cpp b/src/wallet/staking.cpp index 7fd4ee8e53..1cb4dff905 100644 --- a/src/wallet/staking.cpp +++ b/src/wallet/staking.cpp @@ -419,10 +419,6 @@ bool CreateCoinStake(CWallet& wallet, unsigned int nBits, int64_t nSearchInterva if (txNew.vout.size() == 2 && ((pcoin.first->tx->vout[pcoin.second].scriptPubKey == scriptPubKeyKernel || pcoin.first->tx->vout[pcoin.second].scriptPubKey == txNew.vout[1].scriptPubKey)) && pcoin.first->GetHash() != txNew.vin[0].prevout.hash) { - // Stop adding more inputs in case of LegacyScriptPubKeyMan - // Blackcoin ToDo: to be removed! - if (wallet.IsLegacy()) - break; // Stop adding more inputs if already too many inputs if (txNew.vin.size() >= 10) break;