only show new address style if beyond release date
This commit is contained in:
parent
205f70dd8c
commit
513374305a
1 changed files with 3 additions and 1 deletions
|
|
@ -3,7 +3,9 @@
|
|||
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 = [];
|
||||
$scope.bchAddressType = 'cashaddr';
|
||||
var cashaddrDate = new Date(2018, 0, 16);
|
||||
var currentDate = new Date();
|
||||
$scope.bchAddressType = currentDate >= cashaddrDate ? 'cashaddr' : 'legacy';
|
||||
var bchAddresses = {};
|
||||
|
||||
$scope.isCordova = platformInfo.isCordova;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue