diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-01-20 16:25:14 +0100 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-02-01 11:33:35 +0100 |
commit | fa451d4b60ee0538b3ea6b946740a64734b35b6d (patch) | |
tree | 76f655f4d1fcd30c7d475ea4819e9a824f5cc996 /src/wallet/wallet.h | |
parent | e1bf5470f919cf212703466411968916db8ae61f (diff) | |
download | bitcoin-fa451d4b60ee0538b3ea6b946740a64734b35b6d.tar.xz |
Fix clang-tidy readability-const-return-type violations
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r-- | src/wallet/wallet.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index 108db11d32..f104a15f98 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -821,7 +821,8 @@ public: bool IsLegacy() const; /** Returns a bracketed wallet name for displaying in logs, will return [default wallet] if the wallet has no name */ - const std::string GetDisplayName() const override { + std::string GetDisplayName() const override + { std::string wallet_name = GetName().length() == 0 ? "default wallet" : GetName(); return strprintf("[%s]", wallet_name); }; |