Merge pull request #7288

015da03 wallet_rpc_server: don't abort on initial refresh failure (xiphon)
pull/377/head
luigi1111 3 years ago
commit bf53f55366
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

@ -4438,7 +4438,14 @@ public:
wal->stop();
});
wal->refresh(wal->is_trusted_daemon());
try
{
wal->refresh(wal->is_trusted_daemon());
}
catch (const std::exception& e)
{
LOG_ERROR(tools::wallet_rpc_server::tr("Initial refresh failed: ") << e.what());
}
// if we ^C during potentially length load/refresh, there's no server loop yet
if (quit)
{

Loading…
Cancel
Save