Merge pull request #4187 from bitpay/revert-4184-bump/BWCv2.3.1

Reverts bitpay/copay#4184
This commit is contained in:
Ivan Socolsky 2016-05-05 15:40:34 -03:00
commit e435890c8a
2 changed files with 3 additions and 8 deletions

View file

@ -42,7 +42,7 @@
"url": "https://github.com/bitpay/copay/issues"
},
"dependencies": {
"bitcore-wallet-client": "2.3.1",
"bitcore-wallet-client": "2.3.0",
"express": "^4.11.2",
"fs": "0.0.2",
"grunt": "^0.4.5",

View file

@ -75,11 +75,6 @@ angular.module('copayApp.services')
var client = bwcService.getClient(JSON.stringify(credentials));
root.walletClients[credentials.walletId] = client;
if(client.incorrectDerivation) {
storageService.clearLastAddress(credentials.walletId, function(err) {
if (err) $log.warn(err);
});
}
client.removeAllListeners();
client.on('report', function(n) {
$log.info('BWC Report:'+ n);
@ -683,10 +678,10 @@ angular.module('copayApp.services')
$log.debug('Wallet is encrypted');
$rootScope.$emit('Local/NeedsPassword', false, function(err2, password) {
if (err2)
if (err2)
return cb(err2);
if (!password)
if (!password)
return cb(gettext('Password needed'));
try {