Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Commit

Permalink
fix fee rate condition for auto fees
Browse files Browse the repository at this point in the history
Signed-off-by: Nitesh Balusu <[email protected]>
  • Loading branch information
niteshbalusu11 committed Feb 14, 2023
1 parent f0cfd72 commit ab7ec75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/commands/fees/update_policies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const defaultRate = 1;
const div = (a: number, b: number) => (a / b).toFixed(2);
const flatten = arr => [].concat(...arr);
const interval = 1000 * 60 * 2;
const isBetween = (num1: number, num2: number, value: number) => value > num1 && value <= num2;
const isBetween = (num1: number, num2: number, value: number) => (value > num1 || num1 === 0) && value <= num2;
const maxhtlc = (a: number, b: number) => String(round(a * b * 1000));
const times = 10;
const uniq = (arr: string[]) => Array.from(new Set(arr));
Expand Down

0 comments on commit ab7ec75

Please sign in to comment.