MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / SigningResultString

Function SigningResultString

src/common/signmessage.cpp:81–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 2

signmessageFunction · 0.85
message.cppFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected