From f1cc2b7a021fcaa7d6e742b9454ab9cbb003c382 Mon Sep 17 00:00:00 2001 From: Anthony Fieroni Date: Wed, 17 Nov 2021 11:48:12 +0200 Subject: [PATCH] Revert auto auth selecting protection Signed-off-by: Anthony Fieroni --- src/wallet/wallet.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 6966ebf8f8..d8cc45b392 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -2562,15 +2562,6 @@ void CWallet::AvailableCoins(interfaces::Chain::Lock& locked_chain, std::vector< continue; } - if (!wtx.isAbandoned()) { - // do not select auto auth outputs - std::vector metadata; - auto txType = GuessCustomTxType(*wtx.tx, metadata); - if (txType == CustomTxType::AutoAuthPrep) { - continue; - } - } - auto optHeight = locked_chain.getHeight(); bool const lockedCollateral = optHeight && !chain().mnCanSpend(wtx.tx->GetHash(), *optHeight);