Skip to content

Commit

Permalink
Update packages/ciphernode/router/src/committee_meta.rs
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
ryardley and coderabbitai[bot] authored Oct 16, 2024
1 parent e17143f commit 0905d13
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/ciphernode/router/src/committee_meta.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ pub struct CommitteeMeta {
pub src_chain_id: u64,
}

pub struct CommitteMetaFeature;
pub struct CommitteeMetaFeature;

impl CommitteMetaFeature {
impl CommitteeMetaFeature {
pub fn create() -> Box<Self> {
Box::new(Self {})
}
}

#[async_trait]
impl E3Feature for CommitteMetaFeature {
impl E3Feature for CommitteeMetaFeature {
fn on_event(&self, ctx: &mut crate::E3RequestContext, event: &EnclaveEvent) {
let EnclaveEvent::E3Requested { data, .. } = event else {
return;
Expand Down

0 comments on commit 0905d13

Please sign in to comment.