Allow for a fee of zero
This commit is contained in:
parent
6ce01155d4
commit
d3c951a28c
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ angular.module('copayApp.services').factory('feeService', function($log, $stateP
|
|||
var feeLevelValue = lodash.find(levels, {
|
||||
level: feeLevel
|
||||
});
|
||||
if (!feeLevelValue || !feeLevelValue.feePerKB)
|
||||
if (!feeLevelValue || feeLevelValue.feePerKB == null)
|
||||
return cb({
|
||||
message: 'Could not get dynamic fee for level: ' + feeLevel
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue