Browse Source

bolt 3: use our revocation basepoint when computing their revocation key

ppa-0.6.1
sstone 8 years ago
committed by Rusty Russell
parent
commit
62ccf266fa
  1. 2
      lightningd/channel.c

2
lightningd/channel.c

@ -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…
Cancel
Save