mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-21 16:14:23 +01:00
Makefile: add generated packet names.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -425,7 +425,7 @@ void queue_pkt_close_signature(struct peer *peer)
|
||||
|
||||
Pkt *pkt_err_unexpected(struct peer *peer, const Pkt *pkt)
|
||||
{
|
||||
return pkt_err(peer, "Unexpected packet %s", state_name(pkt->pkt_case));
|
||||
return pkt_err(peer, "Unexpected packet %s", pkt_name(pkt->pkt_case));
|
||||
}
|
||||
|
||||
/* Process various packets: return an error packet on failure. */
|
||||
|
||||
Reference in New Issue
Block a user