mirror of https://github.com/BTCPrivate/copay.git
Removed whitespaces
This commit is contained in:
parent
ce976a1b42
commit
86c8137da0
|
@ -81,7 +81,7 @@ angular.module('copayApp.controllers').controller('AddressesController',
|
||||||
'address': addrinfo.addressStr,
|
'address': addrinfo.addressStr,
|
||||||
'balance': $rootScope.balanceByAddr ? $rootScope.balanceByAddr[addrinfo.addressStr] : 0,
|
'balance': $rootScope.balanceByAddr ? $rootScope.balanceByAddr[addrinfo.addressStr] : 0,
|
||||||
'isChange': addrinfo.isChange,
|
'isChange': addrinfo.isChange,
|
||||||
'owned': addrinfo.owned,
|
'owned': addrinfo.owned
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
$scope.addresses = $scope.limitAddress($scope.addresses);
|
$scope.addresses = $scope.limitAddress($scope.addresses);
|
||||||
|
|
|
@ -377,7 +377,6 @@ Network.prototype.send = function(dest, payload, cb) {
|
||||||
|
|
||||||
var message = this.encode(to, payload);
|
var message = this.encode(to, payload);
|
||||||
this.socket.emit('message', message);
|
this.socket.emit('message', message);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (typeof cb === 'function') cb();
|
if (typeof cb === 'function') cb();
|
||||||
|
@ -406,6 +405,4 @@ Network.prototype.lockIncommingConnections = function(allowedCopayerIdsArray) {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
module.exports = Network;
|
module.exports = Network;
|
||||||
|
|
|
@ -496,17 +496,15 @@ PublicKeyRing.prototype.getAddressesInfoForIndex = function(index, opts, copayer
|
||||||
opts = opts || {};
|
opts = opts || {};
|
||||||
var isOwned = index.copayerIndex === HDPath.SHARED_INDEX || index.copayerIndex === copayerIndex;
|
var isOwned = index.copayerIndex === HDPath.SHARED_INDEX || index.copayerIndex === copayerIndex;
|
||||||
var ret = [];
|
var ret = [];
|
||||||
var appendAddressInfo = function(address, isChange, index) {
|
var appendAddressInfo = function(address, isChange) {
|
||||||
ret.unshift({
|
ret.unshift({
|
||||||
address: address,
|
address: address,
|
||||||
addressStr: address.toString(),
|
addressStr: address.toString(),
|
||||||
isChange: isChange,
|
isChange: isChange,
|
||||||
owned: isOwned,
|
owned: isOwned
|
||||||
//index: index.copayerIndex
|
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
for (var i = 0; !opts.excludeChange && i < index.changeIndex; i++) {
|
for (var i = 0; !opts.excludeChange && i < index.changeIndex; i++) {
|
||||||
appendAddressInfo(this.getAddress(i, true, index.copayerIndex), true);
|
appendAddressInfo(this.getAddress(i, true, index.copayerIndex), true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue