mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00: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