changed cashaddr date to the 15th of january
This commit is contained in:
parent
353214f50f
commit
81b808f369
2 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@
|
|||
angular.module('copayApp.controllers').controller('tabReceiveController', function($rootScope, $scope, $timeout, $log, $ionicModal, $state, $ionicHistory, $ionicPopover, storageService, platformInfo, walletService, profileService, configService, lodash, gettextCatalog, popupService, bwcError, bitcoinCashJsService) {
|
||||
|
||||
var listeners = [];
|
||||
var cashaddrDate = new Date(2018, 0, 16);
|
||||
var cashaddrDate = new Date(2018, 0, 15);
|
||||
var currentDate = new Date();
|
||||
$scope.bchAddressType = currentDate >= cashaddrDate ? 'cashaddr' : 'legacy';
|
||||
var bchAddresses = {};
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ angular.module('copayApp.controllers').controller('txDetailsController', functio
|
|||
|
||||
$scope.btx = txFormatService.processTx($scope.wallet.coin, tx);
|
||||
|
||||
var cashaddrDate = new Date(2018, 0, 16);
|
||||
var cashaddrDate = new Date(2018, 0, 15);
|
||||
var txDate = new Date(($scope.btx.createdOn || $scope.btx.time) * 1000);
|
||||
|
||||
if ($scope.wallet.coin == 'bch' && txDate >= cashaddrDate) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue