fix prefix check

This commit is contained in:
Javier 2016-02-03 11:23:49 -03:00
commit 6b47cc9da9

View file

@ -12,7 +12,7 @@ angular.module('copayApp.controllers').controller('paperWalletController',
self.onData = function(data) {
self.error = '';
self.scannedKey = data;
self.isPkEncrypted = (data.charAt(0) == '6');
self.isPkEncrypted = (data.substring(0,2) == '6P');
}
self._scanFunds = function(cb) {