| 1077 | } |
| 1078 | |
| 1079 | Amount CLI::parseAmount(const std::string &amount) const { |
| 1080 | try { |
| 1081 | return std::stoull(amount); |
| 1082 | } catch (const std::exception &) { |
| 1083 | throw std::runtime_error("Invalid amount format"); |
| 1084 | } |
| 1085 | } |
| 1086 | |
| 1087 | std::vector<uint8_t> CLI::parseOpData(const std::string &opdata) const { |
| 1088 | // Parse operation data from hex |
nothing calls this directly
no outgoing calls
no test coverage detected