mirror of
https://github.com/ElementsProject/lightning.git
synced 2026-08-19 13:17:42 +02:00
We were getting an assert "!secp256k1_fe_is_zero(&ge->x)", because an all-zero pubkey is invalid. We allow marshal/unmarshal of NULL for now, and clean up the error handling. 1. Use status_failed if master sends a bad message. 2. Similarly, kill the gossip daemon if it gives a bad reply. 3. Use an array for returned pubkeys: 0 or 2. 4. Use type_to_string(trc, struct short_channel_id, &scid) for tracing. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> |
||
|---|---|---|
| .. | ||
| test | ||
| fromwire.c | ||
| gen_onion_wire_csv | ||
| gen_peer_wire_csv | ||
| Makefile | ||
| onion_defs.h | ||
| peer_wire.c | ||
| peer_wire.h | ||
| towire.c | ||
| wire.h | ||
| wire_io.c | ||
| wire_io.h | ||
| wire_sync.c | ||
| wire_sync.h | ||