Skip to content

Commit

Permalink
remove open api derive on Voter alias
Browse files Browse the repository at this point in the history
  • Loading branch information
al8n committed Nov 8, 2023
1 parent 4541f58 commit 888d233
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion nomos-cli/src/api/mempool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pub async fn send_certificate<C>(node: &Url, cert: &C) -> Result<Response, Error
where
C: Serialize,
{
const NODE_CERT_PATH: &str = "mempool-da/add";
const NODE_CERT_PATH: &str = "mempool/add/cert";
CLIENT
.post(node.join(NODE_CERT_PATH).unwrap())
.header("Content-Type", "application/json")
Expand Down
1 change: 0 additions & 1 deletion nomos-da/full-replication/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ impl CertificateStrategy for AbsoluteNumber<Attestation, Certificate> {
}
}

#[cfg_attr(feature = "openapi", derive(utoipa::ToSchema))]
pub type Voter = [u8; 32];

#[derive(Debug, Clone, Serialize, Deserialize, Eq, Hash, PartialEq)]
Expand Down

0 comments on commit 888d233

Please sign in to comment.