Use slightly cheaper SetHex

This commit is contained in:
JoelKatz
2013-01-28 01:14:06 -08:00
parent c543b77699
commit d3ac663c9a
2 changed files with 10 additions and 10 deletions

View File

@@ -204,7 +204,7 @@ int HashedObjectStore::import(const std::string& file)
uint256 hash;
std::string hashStr;
importDB->getStr("Hash", hashStr);
hash.SetHex(hashStr);
hash.SetHex(hashStr, true);
if (hash.isZero())
{
cLog(lsWARNING) << "zero hash found in import table";