Drop ParseHashUV in favor of calling ParseHashStr

The one existing call already validates get_str will
pass via checkObject.
This commit is contained in:
Ben Woosley
2018-06-08 04:12:36 -07:00
parent 56f69360dc
commit abd2678ac1
3 changed files with 1 additions and 10 deletions

View File

@@ -22,7 +22,6 @@ CScript ParseScript(const std::string& s);
std::string ScriptToAsmStr(const CScript& script, const bool fAttemptSighashDecode = false);
bool DecodeHexTx(CMutableTransaction& tx, const std::string& hex_tx, bool try_no_witness = false, bool try_witness = true);
bool DecodeHexBlk(CBlock&, const std::string& strHexBlk);
uint256 ParseHashUV(const UniValue& v, const std::string& strName);
uint256 ParseHashStr(const std::string&, const std::string& strName);
std::vector<unsigned char> ParseHexUV(const UniValue& v, const std::string& strName);