refactor: remove unused PSBTError::Ok

This commit is contained in:
kevkevinpal
2026-04-22 16:37:09 -04:00
parent 3660678b95
commit 6cca38e2b9
2 changed files with 0 additions and 3 deletions

View File

@@ -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);
}

View File

@@ -24,7 +24,6 @@ enum class PSBTError {
UNSUPPORTED,
INCOMPLETE,
INVALID_TX,
OK,
};
/**
* Instructions for how a PSBT should be signed or filled with information.