Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
mm-zk committed Jan 17, 2025
1 parent 1facec4 commit bc2eae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/api_server/src/impls/zkos.rs
Original file line number Diff line number Diff line change
@@ -14,6 +14,6 @@ impl ZKOSNamespace {
#[async_trait]
impl ZKOSNamespaceServer for ZKOSNamespace {
async fn get_witness(&self, batch: u32) -> RpcResult<Option<String>> {
Ok(zkos_get_batch_witness(&batch).map(|data| hex::encode(data)))
Ok(zkos_get_batch_witness(&batch).map(hex::encode))
}
}

0 comments on commit bc2eae6

Please sign in to comment.