Revert "Bump bwc version 2.3.1"

This commit is contained in:
Gustavo Maximiliano Cortez 2016-05-05 15:36:54 -03:00
parent 74250e1401
commit 20f24ff283
2 changed files with 3 additions and 8 deletions

View File

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

View File

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