Merge pull request #4736 from JDonadio/bug/import-old-wallets
Check for older backup version
This commit is contained in:
commit
004ae9f17a
1 changed files with 4 additions and 0 deletions
|
|
@ -572,6 +572,10 @@ angular.module('copayApp.services')
|
||||||
|
|
||||||
str = JSON.parse(str);
|
str = JSON.parse(str);
|
||||||
|
|
||||||
|
if (!str.n) {
|
||||||
|
return cb("Backup format not recognized. If you are using a Copay Beta backup and version is older than 0.10, please see: https://github.com/bitpay/copay/issues/4730#issuecomment-244522614");
|
||||||
|
}
|
||||||
|
|
||||||
var addressBook = str.addressBook || {};
|
var addressBook = str.addressBook || {};
|
||||||
|
|
||||||
root.addAndBindWalletClient(walletClient, {
|
root.addAndBindWalletClient(walletClient, {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue