Skip to content
Snippets Groups Projects
Commit 197b8d65 authored by Ross Bulat's avatar Ross Bulat Committed by GitHub
Browse files

add claim_commission weight (#13774)

parent 8d802eec
Branches
No related merge requests found
......@@ -2617,7 +2617,7 @@ pub mod pallet {
/// commission is paid out and added to total claimed commission`. Total pending commission
/// is reset to zero. the current.
#[pallet::call_index(20)]
#[pallet::weight(0)]
#[pallet::weight(T::WeightInfo::claim_commission())]
pub fn claim_commission(origin: OriginFor<T>, pool_id: PoolId) -> DispatchResult {
let who = ensure_signed(origin)?;
Self::do_claim_commission(who, pool_id)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment