| 565 | } |
| 566 | |
| 567 | static std::vector<unsigned char> ParseHexUV(const UniValue& v, const std::string& strName) |
| 568 | { |
| 569 | std::string strHex; |
| 570 | if (v.isStr()) |
| 571 | strHex = v.getValStr(); |
| 572 | if (!IsHex(strHex)) |
| 573 | throw std::runtime_error(strName + " must be hexadecimal string (not '" + strHex + "')"); |
| 574 | return ParseHex(strHex); |
| 575 | } |
| 576 | |
| 577 | static void MutateTxSign(CMutableTransaction& tx, const std::string& flagStr) |
| 578 | { |
no test coverage detected