Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: typos #2005

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pallets/loans/src/entities/loans.rs
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ impl<T: Config> ActiveLoan<T> {
}

/// Process the given amount to ensure it's a correct repayment.
/// - Taking current interest accrued and maximal repay prinicpal from
/// - Taking current interest accrued and maximal repay principal from
/// pricing
/// - Adapting interest repayment to be as maximum as the current interest
/// accrued
Expand Down
2 changes: 1 addition & 1 deletion pallets/loans/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ pub mod pallet {
Ok(())
}

/// Updates the porfolio valuation for the given pool
/// Updates the portfolio valuation for the given pool
#[pallet::weight(T::WeightInfo::update_portfolio_valuation(
T::MaxActiveLoansPerPool::get()
))]
Expand Down
2 changes: 1 addition & 1 deletion pallets/loans/src/tests/portfolio_valuation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ fn internal_dcf_with_no_maturity() {
}

#[test]
fn internal_oustanding_debt_with_no_maturity() {
fn internal_outstanding_debt_with_no_maturity() {
new_test_ext().execute_with(|| {
let mut internal = util::base_internal_loan();
internal.schedule.maturity = Maturity::None;
Expand Down
2 changes: 1 addition & 1 deletion pallets/pool-fees/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ pub mod pallet {
/// Execute a successful fee append proposal for the given (pool,
/// bucket) pair.
///
/// Origin unrestriced due to pre-check via proposal gate.
/// Origin unrestricted due to pre-check via proposal gate.
#[pallet::call_index(1)]
#[pallet::weight(T::WeightInfo::apply_new_fee(T::MaxPoolFeesPerBucket::get()))]
pub fn apply_new_fee(
Expand Down