Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
cong-or committed May 7, 2024
1 parent e6f0896 commit b2606dd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions catalyst-gateway/bin/src/cardano/cip36_registration/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,9 @@ fn inspect_signature(cbor_value: ciborium::value::Value) -> anyhow::Result<Signa
Ok(Signature::from_bytes(&signature))
}

/// Rebuild 61284 from pallas metadata to match original signed 61284 payload, pallas does not preserve exact 61284 bytes
/// which is required for signature verification. It must be rebuilt and re-serialzed to perform signature verification.
/// Rebuild 61284 from pallas metadata to match original signed 61284 payload, pallas does
/// not preserve exact 61284 bytes which is required for signature verification. It must
/// be rebuilt and re-serialzed to perform signature verification.
fn original_61284_payload(metadata: &Metadatum) -> anyhow::Result<Vec<u8>> {
/// 61284 CIP-36
const CIP_36_61284: usize = 61284;
Expand Down

0 comments on commit b2606dd

Please sign in to comment.