mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-08 16:44:22 +01:00
lightningd: remove unused allocation.
Not a leak, since it's off tmpctx, but send_htlc_out allocates this itself. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -576,7 +576,6 @@ static void forward_htlc(struct htlc_in *hin,
|
||||
goto fail;
|
||||
}
|
||||
|
||||
hout = tal(tmpctx, struct htlc_out);
|
||||
failcode = send_htlc_out(next, amt_to_forward,
|
||||
outgoing_cltv_value, &hin->payment_hash,
|
||||
0, next_onion, hin, &hout);
|
||||
|
||||
Reference in New Issue
Block a user