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
No known key found for this signature in database
GPG key ID: CE2B75697E69A548
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);