mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
gossipd: use gossip_time_now() everywhere.
We've been slack, but it's going to be important for testing ratelimiting. And it currently has a minor memory leak. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -273,7 +273,7 @@ struct routing_state *new_routing_state(const tal_t *ctx,
|
||||
const struct node_id *local_id,
|
||||
u32 prune_timeout,
|
||||
struct list_head *peers,
|
||||
const u32 *dev_gossip_time);
|
||||
const u32 *dev_gossip_time TAKES);
|
||||
|
||||
/**
|
||||
* Add a new bidirectional channel from id1 to id2 with the given
|
||||
|
||||
Reference in New Issue
Block a user