diff options
| author | MarcoFalke <[email protected]> | 2020-05-18 09:06:55 -0400 |
|---|---|---|
| committer | MarcoFalke <[email protected]> | 2020-05-19 10:37:15 -0400 |
| commit | fa83b39ff3ae3fbad93df002915c0e5f99c104a9 (patch) | |
| tree | 4147e68805cf03c66795285eaedb328e5885aa8f /src/httprpc.cpp | |
| parent | Merge #18938: tests: Fill fuzzing coverage gaps for functions in consensus/va... (diff) | |
| download | discoin-fa83b39ff3ae3fbad93df002915c0e5f99c104a9.tar.xz discoin-fa83b39ff3ae3fbad93df002915c0e5f99c104a9.zip | |
init: Remove confusing and redundant InitError
The "A fatal internal error occurred, see debug.log for details" is
redundant because init.cpp will already show an InitError with a better
error message as well as the hint to check the debug.log
Diffstat (limited to 'src/httprpc.cpp')
| -rw-r--r-- | src/httprpc.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/httprpc.cpp b/src/httprpc.cpp index 3c3e6e5bb..f17101ef5 100644 --- a/src/httprpc.cpp +++ b/src/httprpc.cpp @@ -9,7 +9,6 @@ #include <httpserver.h> #include <rpc/protocol.h> #include <rpc/server.h> -#include <ui_interface.h> #include <util/strencodings.h> #include <util/system.h> #include <util/translation.h> @@ -251,9 +250,6 @@ static bool InitRPCAuthentication() { LogPrintf("No rpcpassword set - using random cookie authentication.\n"); if (!GenerateAuthCookie(&strRPCUserColonPass)) { - uiInterface.ThreadSafeMessageBox( - _("Error: A fatal internal error occurred, see debug.log for details"), // Same message as AbortNode - "", CClientUIInterface::MSG_ERROR); return false; } } else { |