From e7448d66803f42984018ef8dfa6699027cb9536d Mon Sep 17 00:00:00 2001 From: Fabian Jahr Date: Wed, 22 Jul 2020 12:35:37 +0200 Subject: [PATCH] wallet: Don't override signing errors --- src/wallet/wallet.cpp | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 8eec00993f..38b3632448 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -2481,23 +2481,6 @@ bool CWallet::SignTransaction(CMutableTransaction& tx, const std::mapsecond.IsSpent()) { - input_errors[i] = "Input not found or already spent"; - continue; - } - - // Check if this input is complete - SignatureData sigdata = DataFromTransaction(tx, i, coin->second.out); - if (!sigdata.complete) { - input_errors[i] = "Unable to sign input, missing keys"; - continue; - } - } return false; }