Skip to content

Commit

Permalink
remove transactional from non extrinsic calls
Browse files Browse the repository at this point in the history
  • Loading branch information
tdelabro committed Jun 14, 2022
1 parent 00a9982 commit 793aad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@ pub mod pallet {
/// The dispatch origin for this call must be `Signed` by the supersig
///
/// # <weight>
#[transactional]
#[pallet::weight(T::WeightInfo::remove_members(members_to_remove.len() as u32))]
pub fn remove_members(
origin: OriginFor<T>,
Expand Down Expand Up @@ -657,7 +658,6 @@ pub mod pallet {
Ok(added)
}

#[transactional]
fn internal_remove_members(
supersig_id: SupersigId,
members: BoundedVec<T::AccountId, T::MaxAccountsPerTransaction>,
Expand Down

0 comments on commit 793aad5

Please sign in to comment.