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

@@ -63,7 +63,7 @@ public:
mapToUse = &mapSaplingNullifiers_;
break;
default:
throw std::runtime_error("Unknown nullifier type " + type);
throw std::runtime_error("Unknown nullifier type");
}
std::map<uint256, bool>::const_iterator it = mapToUse->find(nf);
if (it == mapToUse->end()) {