diff options
| author | MarcoFalke <[email protected]> | 2019-08-16 07:53:16 -0400 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2019-08-16 07:53:23 -0400 |
| commit | 21a165325eda90fa6eb70ca0b9e3fa23924f5964 (patch) | |
| tree | a12a5a972eb1706120aa071e63526849e13b7290 /src/init.cpp | |
| parent | Merge #16612: qt: Remove menu icons (diff) | |
| parent | util: Move ResolveErrMsg to util/error (diff) | |
| download | discoin-21a165325eda90fa6eb70ca0b9e3fa23924f5964.tar.xz discoin-21a165325eda90fa6eb70ca0b9e3fa23924f5964.zip | |
Merge #16620: util: Move ResolveErrMsg to util/error
fa27c55b0593c769b6ad87de0b59df3816d73548 util: Move ResolveErrMsg to util/error (MarcoFalke)
Pull request description:
Pull request https://github.com/bitcoin/bitcoin/pull/16248#discussion_r314035862 duplicated the body of this util function. The whole point of the util function is to be shared, so do that here as a fixup to #16248
ACKs for top commit:
Sjors:
utACK fa27c55
ryanofsky:
utACK fa27c55b0593c769b6ad87de0b59df3816d73548
Tree-SHA512: e2b25ae05082fe9d0ee94bdc7d51f801bd9f78e8fc2b141e9a313e008dbb8a77653fe876e111c802c676859c6b76c37a673d1f8cfbe7ad25607a5ffcffde19fd
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/init.cpp b/src/init.cpp index d98f7c376..dce601a55 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -824,11 +824,6 @@ void InitParameterInteraction() } } -static std::string ResolveErrMsg(const char * const optname, const std::string& strBind) -{ - return strprintf(_("Cannot resolve -%s address: '%s'").translated, optname, strBind); -} - /** * Initialize global loggers. * |