Fix clang-tidy readability-const-return-type violations

This commit is contained in:
MarcoFalke
2023-01-20 16:25:14 +01:00
parent e1bf5470f9
commit fa451d4b60
25 changed files with 54 additions and 52 deletions

View File

@@ -104,7 +104,7 @@ struct ScriptParserContext {
return key.data;
}
const std::vector<unsigned char> ToPKHBytes(const Key& key) const
std::vector<unsigned char> ToPKHBytes(const Key& key) const
{
if (key.is_hash) return key.data;
const auto h = Hash160(key.data);