Skip to content

Commit

Permalink
Remove address validation for the whitelist-merkletree/hasMember query
Browse files Browse the repository at this point in the history
  • Loading branch information
MightOfOaks committed Aug 7, 2024
1 parent 67dea2e commit 60e5d4f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions contracts/whitelists/whitelist-merkletree/src/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,6 @@ pub fn query_has_member(
member: String,
proof_hashes: Vec<String>,
) -> StdResult<HasMemberResponse> {
deps.api.addr_validate(&member)?;

let merkle_root = MERKLE_ROOT.load(deps.storage)?;

let member_init_hash_slice = Sha256::hash(member.as_bytes());
Expand Down

0 comments on commit 60e5d4f

Please sign in to comment.