Unverified Commit cdd50227 authored by Gavin Wood's avatar Gavin Wood Committed by GitHub
Browse files

Enable session module during PoA (#380)

parent 23f1e765
Pipeline #49599 passed with stages
in 29 minutes and 8 seconds
...@@ -128,7 +128,8 @@ impl SignedExtension for OnlyStakingAndClaims { ...@@ -128,7 +128,8 @@ impl SignedExtension for OnlyStakingAndClaims {
-> Result<ValidTransaction, DispatchError> -> Result<ValidTransaction, DispatchError>
{ {
match call { 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), _ => Err(DispatchError::NoPermission),
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment