| 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 | /** |