mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
Use expected LIGHTNING_DIR_FILE_H define
This commit is contained in:
committed by
Rusty Russell
parent
98f49c0837
commit
a4059ef83e
@@ -1,5 +1,5 @@
|
||||
#ifndef LIGHTNING_LIGHTNINGD_GOSSIP_ROUTING_H
|
||||
#define LIGHTNING_LIGHTNINGD_GOSSIP_ROUTING_H
|
||||
#ifndef LIGHTNING_GOSSIPD_ROUTING_H
|
||||
#define LIGHTNING_GOSSIPD_ROUTING_H
|
||||
#include "config.h"
|
||||
#include <bitcoin/pubkey.h>
|
||||
#include <ccan/crypto/siphash24/siphash24.h>
|
||||
@@ -253,4 +253,4 @@ void route_prune(struct routing_state *rstate);
|
||||
* the direction bit the matching channel should get */
|
||||
#define get_channel_direction(from, to) (pubkey_cmp(from, to) > 0)
|
||||
|
||||
#endif /* LIGHTNING_LIGHTNINGD_GOSSIP_ROUTING_H */
|
||||
#endif /* LIGHTNING_GOSSIPD_ROUTING_H */
|
||||
|
||||
Reference in New Issue
Block a user