mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 11:07:56 +00:00
add claim_commission weight (#13774)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user