Try another server if current is down when saving wallet via a rescan

This commit is contained in:
Duke
2023-03-26 08:41:52 -07:00
parent c7e0f0fae6
commit 9befa3450f
2 changed files with 31 additions and 7 deletions

View File

@@ -364,12 +364,11 @@ void Executor::run()
nullptr,
false
);
if (parsed.is_discarded() || parsed.is_null())
if (parsed.is_discarded() || parsed.is_null()) {
emit handleError(reply);
else
emit responseReady(parsed);
} else {
emit responseReady(parsed);
}
}
void Callback::processRPCCallback(json resp)