credentials

This commit is contained in:
Matias Alejo Garcia 2017-01-31 14:52:52 -03:00
commit 44cf9dc971
No known key found for this signature in database
GPG key ID: 02470DB551277AB3
4 changed files with 4 additions and 8 deletions

View file

@ -34,8 +34,6 @@ angular.module('copayApp.controllers').controller('buyCoinbaseController', funct
};
$scope.$on("$ionicView.beforeEnter", function(event, data) {
coinbaseService.setCredentials();
$scope.isFiat = data.stateParams.currency ? true : false;
[amount, currency, $scope.amountUnitStr] = coinbaseService.parseAmount(
data.stateParams.amount,

View file

@ -117,8 +117,6 @@ angular.module('copayApp.controllers').controller('sellCoinbaseController', func
};
$scope.$on("$ionicView.beforeEnter", function(event, data) {
coinbaseService.setCredentials();
$scope.isFiat = data.stateParams.currency ? true : false;
[amount, currency, $scope.amountUnitStr] = coinbaseService.parseAmount(
data.stateParams.amount,

View file

@ -7,8 +7,8 @@ angular.module('copayApp.services').factory('amazonService', function($http, $lo
* Development: 'testnet'
* Production: 'livenet'
*/
//credentials.NETWORK = 'livenet';
credentials.NETWORK = 'testnet';
credentials.NETWORK = 'livenet';
//credentials.NETWORK = 'testnet';
if (credentials.NETWORK == 'testnet') {
credentials.BITPAY_API_URL = "https://test.bitpay.com";

View file

@ -17,8 +17,8 @@ angular.module('copayApp.services').factory('glideraService', function($http, $l
* Development: 'testnet'
* Production: 'livenet'
*/
// credentials.NETWORK = 'livenet';
credentials.NETWORK = 'testnet';
credentials.NETWORK = 'livenet';
//credentials.NETWORK = 'testnet';
if (credentials.NETWORK == 'testnet') {
credentials.HOST = glidera.sandbox.host;