From fc5593e130d6069d6a93f767e1da6fc7de8d141d Mon Sep 17 00:00:00 2001 From: Giancarlos Salas Date: Thu, 14 Oct 2021 17:38:40 -0500 Subject: [PATCH] No required addr validation --- contracts/cw721-base/src/query.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contracts/cw721-base/src/query.rs b/contracts/cw721-base/src/query.rs index 42fddbaa9..b0cfebf22 100644 --- a/contracts/cw721-base/src/query.rs +++ b/contracts/cw721-base/src/query.rs @@ -113,8 +113,7 @@ where limit: Option, ) -> StdResult { let limit = limit.unwrap_or(DEFAULT_LIMIT).min(MAX_LIMIT) as usize; - let start_addr = maybe_addr(deps.api, start_after)?; - let start = start_addr.map(|addr| Bound::exclusive(addr.as_ref())); + let start = start_after.map(Bound::exclusive); let tokens: StdResult> = self .tokens