Fix -Wstring-plus-int warning on clang

This commit is contained in:
Jack Grigg
2018-05-01 14:55:47 +01:00
parent 23f8b30c88
commit 1f9dfbb9f0
4 changed files with 5 additions and 5 deletions

View File

@@ -143,7 +143,7 @@ bool CCoinsViewCache::GetNullifier(const uint256 &nullifier, NullifierType type)
cacheToUse = &cacheSaplingNullifiers;
break;
default:
throw std::runtime_error("Unknown nullifier type " + type);
throw std::runtime_error("Unknown nullifier type");
}
CNullifiersMap::iterator it = cacheToUse->find(nullifier);
if (it != cacheToUse->end())