Skip to content

Commit

Permalink
fix: 🐛 process_query_entry_records
Browse files Browse the repository at this point in the history
  • Loading branch information
yooml committed Oct 14, 2022
1 parent e414c80 commit e4e0baa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pallets/slp/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

pub use agents::PolkadotAgent;
use cumulus_primitives_core::{relay_chain::HashT, ParaId};
use frame_support::{pallet_prelude::*, weights::Weight};
use frame_support::{pallet_prelude::*, transactional, weights::Weight};
use frame_system::{
pallet_prelude::{BlockNumberFor, OriginFor},
RawOrigin,
Expand Down Expand Up @@ -2034,7 +2034,8 @@ pub mod pallet {
/// **************************************/
/// ****** XCM confirming Functions ******/
/// **************************************/
pub fn process_query_entry_records() -> Result<u32, Error<T>> {
#[transactional]
pub fn process_query_entry_records() -> Result<u32, DispatchError> {
let mut counter = 0u32;

// Deal with DelegatorLedgerXcmUpdateQueue storage
Expand Down

0 comments on commit e4e0baa

Please sign in to comment.