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

Commit 2a0eeff

Browse files
authored
bounties calls docs fix (#12909)
Co-authored-by: parity-processbot <>
1 parent d4837cb commit 2a0eeff

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

frame/bounties/src/lib.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,7 @@ pub enum BountyStatus<AccountId, BlockNumber> {
151151
Approved,
152152
/// The bounty is funded and waiting for curator assignment.
153153
Funded,
154-
/// A curator has been proposed by the `ApproveOrigin`. Waiting for acceptance from the
155-
/// curator.
154+
/// A curator has been proposed. Waiting for acceptance from the curator.
156155
CuratorProposed {
157156
/// The assigned curator of this bounty.
158157
curator: AccountId,
@@ -348,7 +347,7 @@ pub mod pallet {
348347
/// Approve a bounty proposal. At a later time, the bounty will be funded and become active
349348
/// and the original deposit will be returned.
350349
///
351-
/// May only be called from `T::ApproveOrigin`.
350+
/// May only be called from `T::SpendOrigin`.
352351
///
353352
/// # <weight>
354353
/// - O(1).
@@ -380,7 +379,7 @@ pub mod pallet {
380379

381380
/// Assign a curator to a funded bounty.
382381
///
383-
/// May only be called from `T::ApproveOrigin`.
382+
/// May only be called from `T::SpendOrigin`.
384383
///
385384
/// # <weight>
386385
/// - O(1).

0 commit comments

Comments
 (0)