Skip to content

Commit

Permalink
Cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Gauthamastro committed Feb 2, 2024
1 parent 292d413 commit ba3afdd
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions pallets/thea/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ pub mod pallet {
/// Not expected relayer origin
NotAnAllowlistedRelayer,
/// Nonce Error
NonceError
NonceError,
}

#[pallet::hooks]
Expand All @@ -309,10 +309,7 @@ pub mod pallet {
msg.message.network,
msg.message.data.clone(),
);
<IncomingNonce<T>>::insert(
msg.message.network,
next_nonce,
);
<IncomingNonce<T>>::insert(msg.message.network, next_nonce);
Self::deposit_event(Event::<T>::TheaPayloadProcessed(
msg.message.network,
msg.message.nonce,
Expand Down

0 comments on commit ba3afdd

Please sign in to comment.