mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-28 14:39:49 +00:00
Enable session module during PoA (#380)
This commit is contained in:
1 parent
406aad0f9b
commit
cdefa9f9ad
1 file changed
+2
-1
@@ -128,7 +128,8 @@ impl SignedExtension for OnlyStakingAndClaims {
|
||||
-> Result<ValidTransaction, DispatchError>
|
||||
{
|
||||
match call {
|
||||
Call::Staking(_) | Call::Claims(_) | Call::Sudo(_) => Ok(Default::default()),
|
||||
Call::Staking(_) | Call::Claims(_) | Call::Sudo(_) | Call::Session(_) =>
|
||||
Ok(Default::default()),
|
||||
_ => Err(DispatchError::NoPermission),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user