Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

pallet bounties calls docs fix #12909

Merged
merged 2 commits into from
Dec 12, 2022
Merged
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
7 changes: 3 additions & 4 deletions frame/bounties/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,7 @@ pub enum BountyStatus<AccountId, BlockNumber> {
Approved,
/// The bounty is funded and waiting for curator assignment.
Funded,
/// A curator has been proposed by the `ApproveOrigin`. Waiting for acceptance from the
/// curator.
/// A curator has been proposed. Waiting for acceptance from the curator.
CuratorProposed {
/// The assigned curator of this bounty.
curator: AccountId,
Expand Down Expand Up @@ -348,7 +347,7 @@ pub mod pallet {
/// Approve a bounty proposal. At a later time, the bounty will be funded and become active
/// and the original deposit will be returned.
///
/// May only be called from `T::ApproveOrigin`.
/// May only be called from `T::SpendOrigin`.
///
/// # <weight>
/// - O(1).
Expand Down Expand Up @@ -380,7 +379,7 @@ pub mod pallet {

/// Assign a curator to a funded bounty.
///
/// May only be called from `T::ApproveOrigin`.
/// May only be called from `T::SpendOrigin`.
///
/// # <weight>
/// - O(1).
Expand Down