Delete entry with a wrong signature

This commit is contained in:
Gustavo Cortez 2014-07-07 01:57:25 -03:00
commit c83e0c73da
2 changed files with 10 additions and 1 deletions

View file

@ -194,6 +194,9 @@ angular.module('copayApp.controllers').controller('SendController',
var w = $rootScope.wallet;
var sign = w.verifySignAddressBook(key);
$scope.signAddressBook[key] = sign;
if (!sign) {
notification.error('Wrong signature', 'Entry of Addressbooks was deleted');
}
}, 10);
}
};