Enable session module during PoA (#380)

This commit is contained in:
Gavin Wood
2019-08-17 19:13:06 +02:00
committed by GitHub
parent 406aad0f9b
commit cdefa9f9ad
+2 -1
View File
@@ -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),
} }
} }