Skip to content

Commit

Permalink
askrene: remove unused function
Browse files Browse the repository at this point in the history
Signed-off-by: Lagrang3 <lagrang3@protonmail.com>
  • Loading branch information
Lagrang3 committed Sep 12, 2024
1 parent 1f2ca46 commit 2f71827
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions plugins/askrene/mcf.c
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#include <ccan/lqueue/lqueue.h>
#include <ccan/tal/str/str.h>
#include <ccan/tal/tal.h>
#include <common/pseudorand.h>
#include <common/utils.h>
#include <math.h>
#include <plugins/askrene/askrene.h>
Expand Down Expand Up @@ -1087,14 +1086,6 @@ struct list_data
struct flow *flow_path;
};

static inline uint64_t pseudorand_interval(uint64_t a, uint64_t b)
{
if (a == b)
return b;
assert(b > a);
return a + pseudorand(b - a);
}

/* Given a flow in the residual network, build a set of payment flows in the
* gossmap that corresponds to this flow. */
static struct flow **
Expand Down

0 comments on commit 2f71827

Please sign in to comment.