MCPcopy Create free account
hub / github.com/ElementsProject/elements / SigningResultString

Function SigningResultString

src/util/message.cpp:80–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80std::string SigningResultString(const SigningResult res)
81{
82 switch (res) {
83 case SigningResult::OK:
84 return "No error";
85 case SigningResult::PRIVATE_KEY_NOT_AVAILABLE:
86 return "Private key not available";
87 case SigningResult::SIGNING_FAILED:
88 return "Sign failed";
89 // no default case, so the compiler can warn about missing cases
90 }
91 assert(false);
92}

Callers 2

signmessageFunction · 0.85
FUZZ_TARGET_INITFunction · 0.85

Calls

no outgoing calls

Tested by 1

FUZZ_TARGET_INITFunction · 0.68