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