From 7c3fed80969a4fb2a327324c5ff8f0798722ea49 Mon Sep 17 00:00:00 2001 From: jason-c-child Date: Wed, 9 Oct 2024 12:10:35 -0800 Subject: [PATCH] linter fix --- contracts/marketplace/src/query.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/marketplace/src/query.rs b/contracts/marketplace/src/query.rs index 4a2e3e9..4fc6b37 100644 --- a/contracts/marketplace/src/query.rs +++ b/contracts/marketplace/src/query.rs @@ -204,11 +204,11 @@ pub fn query_ask_renew_price( let ask = asks().load(deps.storage, ask_key(&token_id))?; let sudo_params = SUDO_PARAMS.load(deps.storage)?; - let ask_renew_start_time = ask.renewal_time.seconds() - sudo_params.renew_window; - // NOTE: disabling to support prefunding before renewal window // this may be re-enabled if the prefunding logic needs // to be supported again + // let ask_renew_start_time = ask.renewal_time.seconds() - sudo_params.renew_window; + // if current_time.seconds() < ask_renew_start_time { // return Ok((None, None)); // }