| 75 | } |
| 76 | |
| 77 | static void peer_update_features(struct peer *peer, |
| 78 | const u8 *their_features TAKES) |
| 79 | { |
| 80 | tal_free(peer->their_features); |
| 81 | peer->their_features = tal_dup_talarr(peer, u8, their_features); |
| 82 | } |
| 83 | |
| 84 | struct peer *new_peer(struct lightningd *ld, u64 dbid, |
| 85 | const struct node_id *id, |
no test coverage detected