mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
askrene: remove unused function
Signed-off-by: Lagrang3 <lagrang3@protonmail.com>
This commit is contained in:
parent
9b60f6cc6d
commit
0aa52b7fdd
@ -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>
|
||||
@ -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 **
|
||||
|
Loading…
Reference in New Issue
Block a user