You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let per_commitment_key = ignore_error!(SecretKey::from_slice(&secret));
1446
1446
let per_commitment_point = PublicKey::from_secret_key(&self.secp_ctx,&per_commitment_key);
1447
1447
let revocation_pubkey = ignore_error!(chan_utils::derive_public_revocation_key(&self.secp_ctx,&per_commitment_point,&self.onchain_detection.keys.pubkeys().revocation_basepoint));
1448
-
let revocation_key = ignore_error!(chan_utils::derive_private_revocation_key(&self.secp_ctx,&per_commitment_key,&self.onchain_detection.keys.revocation_base_key()));
1449
1448
let local_payment_key = ignore_error!(chan_utils::derive_private_key(&self.secp_ctx,&per_commitment_point,&self.onchain_detection.keys.payment_base_key()));
1450
1449
let delayed_key = ignore_error!(chan_utils::derive_public_key(&self.secp_ctx,&PublicKey::from_secret_key(&self.secp_ctx,&per_commitment_key),&self.their_delayed_payment_base_key.unwrap()));
let secret = ifletSome(secret) = self.get_secret(commitment_number){ secret }else{return(Vec::new(),None);};
1652
1651
let per_commitment_key = ignore_error!(SecretKey::from_slice(&secret));
1653
1652
let per_commitment_point = PublicKey::from_secret_key(&self.secp_ctx,&per_commitment_key);
1654
-
let revocation_key = ignore_error!(chan_utils::derive_private_revocation_key(&self.secp_ctx,&per_commitment_key,&self.onchain_detection.keys.revocation_base_key()));
0 commit comments