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

Commit e5f6b30

Browse files
Ross Bulatpgherveou
authored andcommitted
add claim_commission weight (#13774)
1 parent 0402155 commit e5f6b30

File tree

1 file changed

+1
-1
lines changed
  • frame/nomination-pools/src

1 file changed

+1
-1
lines changed

frame/nomination-pools/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2617,7 +2617,7 @@ pub mod pallet {
26172617
/// commission is paid out and added to total claimed commission`. Total pending commission
26182618
/// is reset to zero. the current.
26192619
#[pallet::call_index(20)]
2620-
#[pallet::weight(0)]
2620+
#[pallet::weight(T::WeightInfo::claim_commission())]
26212621
pub fn claim_commission(origin: OriginFor<T>, pool_id: PoolId) -> DispatchResult {
26222622
let who = ensure_signed(origin)?;
26232623
Self::do_claim_commission(who, pool_id)

0 commit comments

Comments
 (0)