We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0936f35 commit beb42d7Copy full SHA for beb42d7
src/psbt.cpp
@@ -337,7 +337,9 @@ std::string PSBTRoleName(PSBTRole role) {
337
case PSBTRole::SIGNER: return "signer";
338
case PSBTRole::FINALIZER: return "finalizer";
339
case PSBTRole::EXTRACTOR: return "extractor";
340
+ // no default case, so the compiler can warn about missing cases
341
}
342
+ assert(false);
343
344
345
bool DecodeBase64PSBT(PartiallySignedTransaction& psbt, const std::string& base64_tx, std::string& error)
0 commit comments