mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-26 07:38:59 -05:00
chore: add version to PayloadBuilderAttributes::try_new (#12137)
This commit is contained in:
@@ -110,7 +110,11 @@ impl PayloadBuilderAttributes for CustomPayloadBuilderAttributes {
|
||||
type RpcPayloadAttributes = CustomPayloadAttributes;
|
||||
type Error = Infallible;
|
||||
|
||||
fn try_new(parent: B256, attributes: CustomPayloadAttributes) -> Result<Self, Infallible> {
|
||||
fn try_new(
|
||||
parent: B256,
|
||||
attributes: CustomPayloadAttributes,
|
||||
_version: u8,
|
||||
) -> Result<Self, Infallible> {
|
||||
Ok(Self(EthPayloadBuilderAttributes::new(parent, attributes.inner)))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user