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 revocation_key = chan_utils::derive_private_revocation_key(&secp_ctx,&per_commitment_key,&self.revocation_base_key).map_err(|_| SignError::Internal)?;
719
719
let per_commitment_point = PublicKey::from_secret_key(secp_ctx,&per_commitment_key);
720
-
let revocation_pubkey = chan_utils::derive_public_revocation_key(&secp_ctx,&per_commitment_point,&self.pubkeys().revocation_basepoint).map_err(|_| ())?;
720
+
let revocation_pubkey = chan_utils::derive_public_revocation_key(&secp_ctx,&per_commitment_point,&self.pubkeys().revocation_basepoint).map_err(|_| SignError::Internal)?;
721
721
let witness_script = {
722
-
let counterparty_delayedpubkey = chan_utils::derive_public_key(&secp_ctx,&per_commitment_point,&self.counterparty_pubkeys().delayed_payment_basepoint).map_err(|_| ())?;
722
+
let counterparty_delayedpubkey = chan_utils::derive_public_key(&secp_ctx,&per_commitment_point,&self.counterparty_pubkeys().delayed_payment_basepoint).map_err(|_| SignError::Internal)?;
let revocation_key = chan_utils::derive_private_revocation_key(&secp_ctx,&per_commitment_key,&self.revocation_base_key).map_err(|_| SignError::Internal)?;
732
732
let per_commitment_point = PublicKey::from_secret_key(secp_ctx,&per_commitment_key);
733
-
let revocation_pubkey = chan_utils::derive_public_revocation_key(&secp_ctx,&per_commitment_point,&self.pubkeys().revocation_basepoint).map_err(|_| ())?;
733
+
let revocation_pubkey = chan_utils::derive_public_revocation_key(&secp_ctx,&per_commitment_point,&self.pubkeys().revocation_basepoint).map_err(|_| SignError::Internal)?;
734
734
let witness_script = {
735
-
let counterparty_htlcpubkey = chan_utils::derive_public_key(&secp_ctx,&per_commitment_point,&self.counterparty_pubkeys().htlc_basepoint).map_err(|_| ())?;
736
-
let holder_htlcpubkey = chan_utils::derive_public_key(&secp_ctx,&per_commitment_point,&self.pubkeys().htlc_basepoint).map_err(|_| ())?;
735
+
let counterparty_htlcpubkey = chan_utils::derive_public_key(&secp_ctx,&per_commitment_point,&self.counterparty_pubkeys().htlc_basepoint).map_err(|_| SignError::Internal)?;
736
+
let holder_htlcpubkey = chan_utils::derive_public_key(&secp_ctx,&per_commitment_point,&self.pubkeys().htlc_basepoint).map_err(|_| SignError::Internal)?;
0 commit comments