check for old backup version

This commit is contained in:
Javier 2016-09-03 22:25:51 -03:00
parent d0ff4bf061
commit 78e80e9dfa
1 changed files with 4 additions and 0 deletions

View File

@ -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, {