diff --git a/src/common/messages.cpp b/src/common/messages.cpp index 700f4f03cd6..7d94b68f293 100644 --- a/src/common/messages.cpp +++ b/src/common/messages.cpp @@ -118,8 +118,6 @@ bilingual_str PSBTErrorString(PSBTError err) return Untranslated("Input needs additional signatures or other data"); case PSBTError::INVALID_TX: return Untranslated("The transaction cannot be valid"); - case PSBTError::OK: - return Untranslated("No errors"); } // no default case, so the compiler can warn about missing cases assert(false); } diff --git a/src/common/types.h b/src/common/types.h index b9ebca15e84..1ffcd392d60 100644 --- a/src/common/types.h +++ b/src/common/types.h @@ -24,7 +24,6 @@ enum class PSBTError { UNSUPPORTED, INCOMPLETE, INVALID_TX, - OK, }; /** * Instructions for how a PSBT should be signed or filled with information.