mirror of https://github.com/BTCPrivate/copay.git
Merge pull request #4736 from JDonadio/bug/import-old-wallets
Check for older backup version
This commit is contained in:
commit
004ae9f17a
|
@ -572,6 +572,10 @@ angular.module('copayApp.services')
|
|||
|
||||
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 || {};
|
||||
|
||||
root.addAndBindWalletClient(walletClient, {
|
||||
|
|
Loading…
Reference in New Issue