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 @@ bool CCoinsViewDB::GetNullifier(const uint256 &nf, NullifierType type) const {
dbChar = DB_SAPLING_NULLIFIER;
break;
default:
throw runtime_error("Unknown nullifier type " + type);
throw runtime_error("Unknown nullifier type");
}
return db.Read(make_pair(dbChar, nf), spent);
}