From fed1b89c2ced0a23807d5b9092bd7c973d2dd049 Mon Sep 17 00:00:00 2001 From: jhernandezb Date: Tue, 1 Oct 2024 13:11:11 -0600 Subject: [PATCH] update naming --- contracts/marketplace/src/execute.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contracts/marketplace/src/execute.rs b/contracts/marketplace/src/execute.rs index b36565c..57160bc 100644 --- a/contracts/marketplace/src/execute.rs +++ b/contracts/marketplace/src/execute.rs @@ -541,7 +541,7 @@ pub fn execute_renew( .querier .query_wasm_smart::(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, @@ -549,7 +549,7 @@ pub fn execute_renew( 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;