Try another server if current is down when saving wallet via a rescan
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user