diff --git a/node/actors/consensus/src/leader/replica_commit.rs b/node/actors/consensus/src/leader/replica_commit.rs index 870da2b5..126cf529 100644 --- a/node/actors/consensus/src/leader/replica_commit.rs +++ b/node/actors/consensus/src/leader/replica_commit.rs @@ -41,7 +41,7 @@ pub(crate) enum Error { }, /// Invalid message signature. #[error("invalid signature: {0:#}")] - InvalidSignature(#[source] crypto::bls12_381::Error), + InvalidSignature(#[source] crypto::bn254::Error), } impl StateMachine { diff --git a/node/actors/consensus/src/leader/replica_prepare.rs b/node/actors/consensus/src/leader/replica_prepare.rs index 67519427..4c0ef691 100644 --- a/node/actors/consensus/src/leader/replica_prepare.rs +++ b/node/actors/consensus/src/leader/replica_prepare.rs @@ -50,7 +50,7 @@ pub(crate) enum Error { }, /// Invalid message signature. #[error("invalid signature: {0:#}")] - InvalidSignature(#[source] crypto::bls12_381::Error), + InvalidSignature(#[source] crypto::bn254::Error), /// Invalid `HighQC` message. #[error("invalid high QC: {0:#}")] InvalidHighQC(#[source] anyhow::Error), diff --git a/node/actors/consensus/src/replica/leader_commit.rs b/node/actors/consensus/src/replica/leader_commit.rs index bc73a82b..6fe4952e 100644 --- a/node/actors/consensus/src/replica/leader_commit.rs +++ b/node/actors/consensus/src/replica/leader_commit.rs @@ -28,7 +28,7 @@ pub(crate) enum Error { }, /// Invalid message signature. #[error("invalid signature: {0:#}")] - InvalidSignature(#[source] crypto::bls12_381::Error), + InvalidSignature(#[source] crypto::bn254::Error), /// Invalid justification for the message. #[error("invalid justification: {0:#}")] InvalidJustification(#[source] anyhow::Error), diff --git a/node/actors/consensus/src/replica/leader_prepare.rs b/node/actors/consensus/src/replica/leader_prepare.rs index ec2c3b8e..2c7ed3e8 100644 --- a/node/actors/consensus/src/replica/leader_prepare.rs +++ b/node/actors/consensus/src/replica/leader_prepare.rs @@ -32,7 +32,7 @@ pub(crate) enum Error { }, /// Invalid message signature. #[error("invalid signature: {0:#}")] - InvalidSignature(#[source] crypto::bls12_381::Error), + InvalidSignature(#[source] crypto::bn254::Error), /// Invalid `PrepareQC` message. #[error("invalid PrepareQC: {0:#}")] InvalidPrepareQC(#[source] anyhow::Error),