Skip to content

Commit 0c03084

Browse files
author
Solar Mithril
committed
Fix bug
1 parent d476133 commit 0c03084

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

crates/op-rbuilder/src/primitives/reth/engine_api_builder.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,17 +43,13 @@ use url::Url;
4343
pub struct EnginePeer {
4444
pub url: Url,
4545
pub jwt: JwtSecret,
46-
// Flag the indicates if FCU was successfully received
47-
// Caution: could be subjected to race conditions in case 2 FCU issued in short time
48-
pub healthy: Arc<AtomicBool>,
4946
}
5047

5148
impl EnginePeer {
5249
pub fn new(url: Url, jwt_path: JwtSecret) -> Self {
5350
Self {
5451
url,
55-
jwt: jwt_path,
56-
healthy: Arc::new(AtomicBool::new(false)),
52+
jwt: jwt_path
5753
}
5854
}
5955

@@ -218,7 +214,7 @@ where
218214
parent_beacon_block_root: B256,
219215
execution_requests: Requests,
220216
) -> RpcResult<PayloadStatus> {
221-
self.new_payload_v4(
217+
self.inner.new_payload_v4(
222218
payload,
223219
versioned_hashes,
224220
parent_beacon_block_root,

0 commit comments

Comments
 (0)