src/js/frontend/controllers/signing.js
Function verifyText
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.verifyText = function() {
var address = $scope.tools.verifyAddress;
var sigText = $scope.tools.verifySig;
var text = $scope.tools.verifyText;
Function signText
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$scope.signText = function() {
var text = $scope.tools.signText;
var address = $scope.tools.signAddress;
var identity = DarkWallet.getIdentity();
var walletAddress = identity.wallet.getWalletAddress(address);