Skip to content

Commit

Permalink
linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-c-child committed Oct 9, 2024
1 parent 486e4f4 commit 7c3fed8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/marketplace/src/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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));
// }
Expand Down

0 comments on commit 7c3fed8

Please sign in to comment.