Merge pull request #4720 from JohnEz/zero-fee
Use more explicit logic in fee level check
This commit is contained in:
commit
1943f2afa6
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