mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
Persist feature bits across restarts
[ Whitespace fix and remove gratuitous tal_free(peer->their_features) -- RR ]
This commit is contained in:
committed by
Rusty Russell
parent
9f1e1ada2a
commit
e125640f43
@@ -73,6 +73,7 @@ struct peer *find_peer_by_dbid(struct lightningd *ld, u64 dbid);
|
||||
struct peer *new_peer(struct lightningd *ld, u64 dbid,
|
||||
const struct node_id *id,
|
||||
const struct wireaddr_internal *addr,
|
||||
const u8 *their_features,
|
||||
bool connected_incoming);
|
||||
|
||||
/* Last one out deletes peer. Also removes from db. */
|
||||
|
||||
Reference in New Issue
Block a user