Skip to content

Commit

Permalink
test error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
cong-or committed May 3, 2024
1 parent f33a327 commit 26f0bbe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion catalyst-gateway/bin/src/cardano/cip36_registration/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,10 @@ impl Cip36Metadata {
};

if let Some(raw_61284) = raw_61284 {
let _ = validate_signature(&raw_61284, &registration, &signature).ok();
let _ =
validate_signature(&raw_61284, &registration.clone(), &signature).map_err(|_err| {
//errors_report.push(format!("{err}"));
});
}

Some(Self {
Expand Down

0 comments on commit 26f0bbe

Please sign in to comment.