Remove unused parameter payment_hash in forward_htlc(..., const struct sha256 *payment_hash, ...)

This commit is contained in:
practicalswift 2018-02-21 16:55:16 +01:00 committed by Christian Decker
parent d873bf60bf
commit 74841ef567
1 changed files with 1 additions and 2 deletions

View File

@ -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);