Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lemunozm committed Dec 12, 2023
1 parent 1c53c4d commit 3f0e856
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions pallets/oracle-data-collection/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,8 @@ pub mod pallet {
#[pallet::call]
impl<T: Config> Pallet<T> {
/// Propose an update in the feeders associated to an specific key.
/// The collection will only be modified once [`apply_update_feeders`]
/// be called.
/// The collection will only be modified once
/// [`Pallet::apply_update_feeders`] be called.
#[pallet::weight(T::WeightInfo::propose_update_feeders(T::MaxFeedersPerKey::get()))]
#[pallet::call_index(0)]
pub fn propose_update_feeders(
Expand Down Expand Up @@ -213,8 +213,9 @@ pub mod pallet {
Ok(())
}

/// Apply an change previously proposed by [`propose_update_feeders`] if
/// the conditions to get it ready are fullfilled
/// Apply an change previously proposed by
/// [`Pallet::propose_update_feeders`] if the conditions to get it ready
/// are fullfilled
///
/// This call is permissionless
#[pallet::weight(T::WeightInfo::apply_update_feeders(T::MaxFeedersPerKey::get()))]
Expand Down

0 comments on commit 3f0e856

Please sign in to comment.