aboutsummaryrefslogtreecommitdiff
path: root/src/core_io.h
diff options
context:
space:
mode:
authorBen Woosley <ben.woosley@gmail.com>2018-06-08 04:12:36 -0700
committerBen Woosley <ben.woosley@gmail.com>2018-06-08 10:53:38 -0700
commitabd2678ac1af10f55b8b29507407c9e286e06f09 (patch)
tree69d7ed1a50106d82cb30095a8d5cdfb89e708d25 /src/core_io.h
parent56f69360dc98bd68704f19646a84d045788d199e (diff)
downloadbitcoin-abd2678ac1af10f55b8b29507407c9e286e06f09.tar.xz
Drop ParseHashUV in favor of calling ParseHashStr
The one existing call already validates get_str will pass via checkObject.
Diffstat (limited to 'src/core_io.h')
-rw-r--r--src/core_io.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/core_io.h b/src/core_io.h
index 377633ac77..1d87d21d40 100644
--- a/src/core_io.h
+++ b/src/core_io.h
@@ -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);