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

Method SetInvalid

src/node/psbt.h:38–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 std::string error; //!< Error message
37
38 void SetInvalid(std::string err_msg)
39 {
40 estimated_vsize = std::nullopt;
41 estimated_feerate = std::nullopt;
42 fee = std::nullopt;
43 inputs.clear();
44 next = PSBTRole::CREATOR;
45 error = err_msg;
46 }
47};
48
49/**

Callers 1

AnalyzePSBTFunction · 0.80

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected