mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
cd90c8408c
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_io.c | ||
wire_io.h | ||
wire_sync.c | ||
wire_sync.h | ||
wire.h |