Fixes upgrade of bitpayCardCredentials to appIdentity.

This commit is contained in:
Andy Phillipson 2016-12-23 11:53:56 -05:00
commit 58d9c91ca3

View file

@ -138,10 +138,6 @@ angular.module('copayApp.services')
if (err) return cb(err);
if (data != null) {
// Needs upgrade
if (lodash.isString(data)) {
data = JSON.parse(data);
}
data = data || {};
_01_setAppIdentity(network, data, function(err) {
if (err) return cb(err);
storage.remove(key, function() {