Skip to content

Commit

Permalink
update naming
Browse files Browse the repository at this point in the history
  • Loading branch information
jhernandezb committed Oct 1, 2024
1 parent 9397622 commit fed1b89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/marketplace/src/execute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -541,15 +541,15 @@ pub fn execute_renew(
.querier
.query_wasm_smart::<NameMinterParams>(name_minter, &SgNameMinterQueryMsg::Params {})?;

let (renewal_price, _valid_bid) = get_renewal_price_and_bid(
let (renewal_price, valid_bid) = get_renewal_price_and_bid(
deps.as_ref(),
&env.block.time,
&sudo_params,
&ask.token_id,
name_minter_params.base_price.u128(),
)?;
let mut final_price = renewal_price;
if let Some(_valid_bid) = _valid_bid {
if let Some(_bid) = valid_bid {
let payment = may_pay(&info, NATIVE_DENOM)?;

ask.renewal_fund += payment;
Expand Down

0 comments on commit fed1b89

Please sign in to comment.