Skip to content

Commit

Permalink
spelling error in error lol
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-c-child committed Jul 23, 2024
1 parent 7c61fd9 commit ae14128
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contracts/marketplace/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ pub enum ContractError {
InsufficientRenewalFunds { expected: Coin, actual: Coin },

#[error("ExcededRenewalFund: expected {expected}, actual {actual}")]
ExcededRenewalFund { expected: Coin, actual: Coin },
ExceededRenewalFund { expected: Coin, actual: Coin },

#[error("InvalidRenewalPrice")]
InvalidRenewalPrice {},
Expand Down
2 changes: 1 addition & 1 deletion contracts/marketplace/src/execute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ pub fn execute_fund_renewal(
if let Some(renewal_price_coin) = renewal_price.0.as_ref() {
ensure!(
ask.renewal_fund + payment <= renewal_price_coin.amount,
ContractError::ExcededRenewalFund {
ContractError::ExceededRenewalFund {
expected: coin(renewal_price_coin.amount.u128(), NATIVE_DENOM),
actual: coin(ask.renewal_fund.u128() + payment.u128(), NATIVE_DENOM),
}
Expand Down

0 comments on commit ae14128

Please sign in to comment.