Skip to content

Commit

Permalink
no pubkey validation for group_key bug fixed (#228)
Browse files Browse the repository at this point in the history
  • Loading branch information
AhzamAkhtar authored Jan 7, 2025
1 parent 715ca79 commit 20c73f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions das_api/src/api/api_impl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ impl ApiContract for DasApi {
options,
cursor,
} = payload;
validate_pubkey(group_value.clone())?;
let before: Option<String> = before.filter(|before| !before.is_empty());
let after: Option<String> = after.filter(|after| !after.is_empty());
let sort_by = sort_by.unwrap_or_default();
Expand Down

0 comments on commit 20c73f3

Please sign in to comment.