| 183 | } |
| 184 | |
| 185 | static CAmount ExtractAndValidateValue(const std::string& strValue) |
| 186 | { |
| 187 | CAmount value; |
| 188 | if (!ParseMoney(strValue, value)) |
| 189 | throw std::runtime_error("invalid TX output value"); |
| 190 | return value; |
| 191 | } |
| 192 | |
| 193 | static void MutateTxVersion(CMutableTransaction& tx, const std::string& cmdVal) |
| 194 | { |
no test coverage detected