mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-11 21:20:39 +02:00
refactor: remove unused PSBTError::Ok
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -24,7 +24,6 @@ enum class PSBTError {
|
||||
UNSUPPORTED,
|
||||
INCOMPLETE,
|
||||
INVALID_TX,
|
||||
OK,
|
||||
};
|
||||
/**
|
||||
* Instructions for how a PSBT should be signed or filled with information.
|
||||
|
||||
Reference in New Issue
Block a user