From fc031c994155527398e472a13faa1e6dcca9c6e8 Mon Sep 17 00:00:00 2001 From: Iris Date: Fri, 18 Aug 2023 18:34:27 +0200 Subject: [PATCH] fix: allow address 0 in fetch --- src/endpoints/achievements/fetch.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/endpoints/achievements/fetch.rs b/src/endpoints/achievements/fetch.rs index d57f2d89..31c7b1f6 100644 --- a/src/endpoints/achievements/fetch.rs +++ b/src/endpoints/achievements/fetch.rs @@ -18,9 +18,6 @@ pub async fn handler( State(state): State>, Query(query): Query, ) -> impl IntoResponse { - if query.addr == FieldElement::ZERO { - return get_error("Please connect your wallet first".to_string()); - } let addr = FieldElement::to_string(&query.addr); let achievement_categories = state .db