Fix priority normal for bch transactions
This commit is contained in:
parent
ac5a5a9bdc
commit
db04a31a06
3 changed files with 23 additions and 13 deletions
|
|
@ -119,6 +119,11 @@ angular.module('copayApp.controllers').controller('confirmController', function(
|
|||
});
|
||||
};
|
||||
|
||||
// TODO: Default fee level for BCH
|
||||
if (data.stateParams.coin == 'bch') {
|
||||
configFeeLevel = 'normal';
|
||||
}
|
||||
|
||||
// Setup $scope
|
||||
|
||||
// Grab stateParams
|
||||
|
|
@ -142,13 +147,11 @@ angular.module('copayApp.controllers').controller('confirmController', function(
|
|||
txp: {},
|
||||
};
|
||||
|
||||
|
||||
// Other Scope vars
|
||||
$scope.isCordova = isCordova;
|
||||
$scope.isWindowsPhoneApp = isWindowsPhoneApp;
|
||||
$scope.showAddress = false;
|
||||
|
||||
|
||||
$scope.walletSelectorTitle = gettextCatalog.getString('Send from');
|
||||
|
||||
setWalletSelector(tx.coin, tx.network, tx.toAmount, function(err) {
|
||||
|
|
@ -563,6 +566,8 @@ angular.module('copayApp.controllers').controller('confirmController', function(
|
|||
|
||||
$scope.chooseFeeLevel = function(tx, wallet) {
|
||||
|
||||
if (wallet.coin == 'bch') return;
|
||||
|
||||
var scope = $rootScope.$new(true);
|
||||
scope.network = tx.network;
|
||||
scope.feeLevel = tx.feeLevel;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue