mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-18 05:12:45 +01:00
Remove unused parameter their_offer in tell_master_their_offer(u64 their_offer, ...)
This commit is contained in:
parent
7f8ae7e0bf
commit
e28b646f4b
@ -206,8 +206,7 @@ static void send_offer(struct crypto_state *cs,
|
|||||||
tal_free(tmpctx);
|
tal_free(tmpctx);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void tell_master_their_offer(u64 their_offer,
|
static void tell_master_their_offer(const secp256k1_ecdsa_signature *their_sig,
|
||||||
const secp256k1_ecdsa_signature *their_sig,
|
|
||||||
const struct bitcoin_tx *tx)
|
const struct bitcoin_tx *tx)
|
||||||
{
|
{
|
||||||
u8 *msg = towire_closing_received_signature(NULL, their_sig, tx);
|
u8 *msg = towire_closing_received_signature(NULL, their_sig, tx);
|
||||||
@ -336,7 +335,7 @@ static uint64_t receive_offer(struct crypto_state *cs,
|
|||||||
/* Master sorts out what is best offer, we just tell it any above min */
|
/* Master sorts out what is best offer, we just tell it any above min */
|
||||||
if (received_fee >= min_fee_to_accept) {
|
if (received_fee >= min_fee_to_accept) {
|
||||||
status_trace("...offer is reasonable");
|
status_trace("...offer is reasonable");
|
||||||
tell_master_their_offer(received_fee, &their_sig, tx);
|
tell_master_their_offer(&their_sig, tx);
|
||||||
}
|
}
|
||||||
|
|
||||||
tal_free(tmpctx);
|
tal_free(tmpctx);
|
||||||
|
Loading…
Reference in New Issue
Block a user