Better reconnect after invalid lastKnownHash
This commit is contained in:
1 parent
d53e9cff02
commit
578042154e
6 files changed
+66
-32
No files matched your search
@@ -794,6 +794,11 @@ define([
|
||||
var userDoc = JSON.stringify(proxy);
|
||||
if (userDoc === "" || userDoc === "{}") { isNew = true; }
|
||||
|
||||
if (APP.toolbar && APP.rt.cpCnInner) {
|
||||
// Check if we have a new chainpad instance
|
||||
APP.toolbar.resetChainpad(APP.rt.cpCnInner.chainpad);
|
||||
}
|
||||
|
||||
if (!isNew) {
|
||||
if (proxy.info) {
|
||||
// Migration
|
||||
|
||||
Reference in new issue
Block a user