mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Fix clang-tidy readability-const-return-type violations
This commit is contained in:
parent
e1bf5470f9
commit
fa451d4b60
25 changed files with 54 additions and 52 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue