Removed whitespaces

This commit is contained in:
Matias Pando 2014-09-23 11:24:08 -03:00
parent ce976a1b42
commit 86c8137da0
3 changed files with 3 additions and 8 deletions

View File

@ -81,7 +81,7 @@ angular.module('copayApp.controllers').controller('AddressesController',
'address': addrinfo.addressStr,
'balance': $rootScope.balanceByAddr ? $rootScope.balanceByAddr[addrinfo.addressStr] : 0,
'isChange': addrinfo.isChange,
'owned': addrinfo.owned,
'owned': addrinfo.owned
});
}
$scope.addresses = $scope.limitAddress($scope.addresses);

View File

@ -377,7 +377,6 @@ Network.prototype.send = function(dest, payload, cb) {
var message = this.encode(to, payload);
this.socket.emit('message', message);
}
if (typeof cb === 'function') cb();
@ -406,6 +405,4 @@ Network.prototype.lockIncommingConnections = function(allowedCopayerIdsArray) {
}
};
module.exports = Network;

View File

@ -496,17 +496,15 @@ PublicKeyRing.prototype.getAddressesInfoForIndex = function(index, opts, copayer
opts = opts || {};
var isOwned = index.copayerIndex === HDPath.SHARED_INDEX || index.copayerIndex === copayerIndex;
var ret = [];
var appendAddressInfo = function(address, isChange, index) {
var appendAddressInfo = function(address, isChange) {
ret.unshift({
address: address,
addressStr: address.toString(),
isChange: isChange,
owned: isOwned,
//index: index.copayerIndex
owned: isOwned
});
};
for (var i = 0; !opts.excludeChange && i < index.changeIndex; i++) {
appendAddressInfo(this.getAddress(i, true, index.copayerIndex), true);
}