mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 09:54:16 +01:00
bolt 3: use our revocation basepoint when computing their revocation key
This commit is contained in:
parent
21d7ed0cf6
commit
62ccf266fa
@ -185,7 +185,7 @@ struct bitcoin_tx *channel_tx(const tal_t *ctx,
|
||||
&side_delayed_payment_key))
|
||||
return NULL;
|
||||
|
||||
if (!derive_revocation_key(&channel->basepoints[side].revocation,
|
||||
if (!derive_revocation_key(&channel->basepoints[!side].revocation,
|
||||
per_commitment_point,
|
||||
&side_revocation_key))
|
||||
return NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user