mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
chore: use u64 for payloadattributes directly (#5327)
This commit is contained in:
@ -36,7 +36,7 @@ impl<'a> PayloadOrAttributes<'a> {
|
||||
pub(crate) fn timestamp(&self) -> u64 {
|
||||
match self {
|
||||
Self::ExecutionPayload { payload, .. } => payload.timestamp(),
|
||||
Self::PayloadAttributes(attributes) => attributes.timestamp.to(),
|
||||
Self::PayloadAttributes(attributes) => attributes.timestamp,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user