change unit/kB for sat/Byte in fee rate
This commit is contained in:
parent
e29550ea0b
commit
f681122fd6
3 changed files with 5 additions and 10 deletions
|
|
@ -53,11 +53,11 @@ angular.module('copayApp.controllers').controller('preferencesFeeController', fu
|
|||
level: $scope.currentFeeLevel
|
||||
});
|
||||
if (lodash.isEmpty(feeLevelValue)) {
|
||||
$scope.feePerKBUnit = null;
|
||||
$scope.feePerSatByte = null;
|
||||
$scope.avgConfirmationTime = null;
|
||||
return;
|
||||
}
|
||||
$scope.feePerKBUnit = feeLevelValue.feePerKBUnit;
|
||||
$scope.feePerSatByte = (feeLevelValue.feePerKB / 1000).toFixed();
|
||||
$scope.avgConfirmationTime = feeLevelValue.nbBlocks * 10;
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue