File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -2362,16 +2362,17 @@ void ThreadRPCServer2(void* parg)
2362
2362
strWhatAmI = strprintf (_ (" To use the %s option" ), " \" -server\" " );
2363
2363
else if (mapArgs.count (" -daemon" ))
2364
2364
strWhatAmI = strprintf (_ (" To use the %s option" ), " \" -daemon\" " );
2365
- std::string strMessage = _ ( " %s, you must set a rpcpassword in the configuration file: \n %s \n "
2366
- " It is recommended you use the following random password: \n "
2367
- " rpcuser=bitcoinrpc \n "
2368
- " rpcpassword=%s \n "
2369
- " (you do not need to remember this password) \n "
2370
- " If the file does not exist, create it with owner-readable-only file permissions. \n " );
2371
- fprintf (stderr, strMessage. c_str ( ),
2365
+ ThreadSafeMessageBox ( strprintf (
2366
+ _ ( " %s, you must set a rpcpassword in the configuration file: \n %s \n "
2367
+ " It is recommended you use the following random password: \n "
2368
+ " rpcuser=bitcoinrpc \n "
2369
+ " rpcpassword=%s \n "
2370
+ " (you do not need to remember this password) \n "
2371
+ " If the file does not exist, create it with owner-readable-only file permissions. \n " ),
2372
2372
strWhatAmI.c_str (),
2373
2373
GetConfigFile ().c_str (),
2374
- EncodeBase58 (&rand_pwd[0 ],&rand_pwd[0 ]+32 ).c_str ());
2374
+ EncodeBase58 (&rand_pwd[0 ],&rand_pwd[0 ]+32 ).c_str ()),
2375
+ _ (" Error" ), wxOK | wxMODAL);
2375
2376
QueueShutdown ();
2376
2377
return ;
2377
2378
}
You can’t perform that action at this time.
0 commit comments