Browse Source

autodata: requests new line number, please

ppa
niftynei 4 years ago
committed by Christian Decker
parent
commit
9906236769
  1. 14
      lightningd/peer_htlcs.c

14
lightningd/peer_htlcs.c

@ -1085,12 +1085,6 @@ htlc_accepted_hook_final(struct htlc_accepted_hook_payload *request STEALS)
tal_free(request);
}
REGISTER_PLUGIN_HOOK(htlc_accepted,
htlc_accepted_hook_deserialize,
htlc_accepted_hook_final,
htlc_accepted_hook_serialize,
struct htlc_accepted_hook_payload *);
/* Apply tweak to ephemeral key if blinding is non-NULL, then do ECDH */
static bool ecdh_maybe_blinding(const struct pubkey *ephemeral_key,
const struct pubkey *blinding,
@ -1120,6 +1114,14 @@ static bool ecdh_maybe_blinding(const struct pubkey *ephemeral_key,
return true;
}
/* AUTODATA wants a different line number */
REGISTER_PLUGIN_HOOK(htlc_accepted,
htlc_accepted_hook_deserialize,
htlc_accepted_hook_final,
htlc_accepted_hook_serialize,
struct htlc_accepted_hook_payload *);
/**
* Everyone is committed to this htlc of theirs
*

Loading…
Cancel
Save