mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-10 05:09:22 +00:00
Add verification of SignedBatch to the in-instructions pallet
This commit is contained in:
@@ -234,6 +234,11 @@ pub mod pallet {
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// Check if an external network was halted.
|
||||
pub fn halted(network: ExternalNetworkId) -> bool {
|
||||
Halted::<T>::contains_key(network)
|
||||
}
|
||||
}
|
||||
|
||||
/// An error from the `signals` pallet.
|
||||
|
||||
Reference in New Issue
Block a user