mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-17 19:03:42 +01:00
Remove unused parameter payment_hash in forward_htlc(..., const struct sha256 *payment_hash, ...)
This commit is contained in:
parent
d873bf60bf
commit
74841ef567
@ -417,7 +417,6 @@ enum onion_type send_htlc_out(struct channel *out, u64 amount, u32 cltv,
|
||||
|
||||
static void forward_htlc(struct htlc_in *hin,
|
||||
u32 cltv_expiry,
|
||||
const struct sha256 *payment_hash,
|
||||
u64 amt_to_forward,
|
||||
u32 outgoing_cltv_value,
|
||||
const struct pubkey *next_hop,
|
||||
@ -543,7 +542,7 @@ static void channel_resolve_reply(struct subd *gossip, const u8 *msg,
|
||||
peer_id = &nodes[0];
|
||||
}
|
||||
|
||||
forward_htlc(gr->hin, gr->hin->cltv_expiry, &gr->hin->payment_hash,
|
||||
forward_htlc(gr->hin, gr->hin->cltv_expiry,
|
||||
gr->amt_to_forward, gr->outgoing_cltv_value, peer_id,
|
||||
gr->next_onion);
|
||||
tal_free(gr);
|
||||
|
Loading…
Reference in New Issue
Block a user