| 124 | throw JSONRPCError(RPC_INVALID_PARAMETER, strprintf("%s must be hexadecimal string (not '%s')", name, strHex)); |
| 125 | } |
| 126 | uint256 ParseHashO(const UniValue& o, std::string_view strKey) |
| 127 | { |
| 128 | return ParseHashV(o.find_value(strKey), strKey); |
| 129 | } |
| 130 | std::vector<unsigned char> ParseHexV(const UniValue& v, std::string_view name) |
| 131 | { |
| 132 | std::string strHex; |
no test coverage detected