mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
fix(ci): add missing const fn (#8822)
This commit is contained in:
@ -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 }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user