mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-23 00:54:20 +01:00
openingd: don't leak messages from master.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
ac488bc01d
commit
36e31cacf9
@@ -1043,7 +1043,7 @@ static void fail_if_all_error(const u8 *inner)
|
|||||||
|
|
||||||
static u8 *handle_master_in(struct state *state)
|
static u8 *handle_master_in(struct state *state)
|
||||||
{
|
{
|
||||||
u8 *msg = wire_sync_read(state, REQ_FD);
|
u8 *msg = wire_sync_read(tmpctx, REQ_FD);
|
||||||
enum opening_wire_type t = fromwire_peektype(msg);
|
enum opening_wire_type t = fromwire_peektype(msg);
|
||||||
u64 change_satoshis;
|
u64 change_satoshis;
|
||||||
u32 change_keyindex;
|
u32 change_keyindex;
|
||||||
|
|||||||
Reference in New Issue
Block a user