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

Method SetInvalid

src/node/psbt.h:48–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46 std::string error; //!< Error message
47
48 void SetInvalid(std::string err_msg)
49 {
50 estimated_vsize = std::nullopt;
51 estimated_feerate = std::nullopt;
52 fee = std::nullopt;
53 inputs.clear();
54 next = PSBTRole::CREATOR;
55 error = err_msg;
56 }
57};
58
59

Callers 1

AnalyzePSBTFunction · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected