fix(ci): add missing const fn (#8822)

This commit is contained in:
joshieDo
2024-06-14 12:07:39 +02:00
committed by GitHub
parent bc15e6c03a
commit fc770423b3
34 changed files with 40 additions and 40 deletions

View File

@ -22,7 +22,7 @@ pub struct ExecutionPayloadValidator {
impl ExecutionPayloadValidator {
/// Create a new validator.
pub fn new(chain_spec: Arc<ChainSpec>) -> Self {
pub const fn new(chain_spec: Arc<ChainSpec>) -> Self {
Self { chain_spec }
}