Skip to content

Commit 3d71fd3

Browse files
committed
Revert original logic
1 parent 91673ef commit 3d71fd3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

crates/op-rbuilder/src/builders/flashblocks/payload_handler.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ where
9696
let _ = p2p_tx.send(payload.into()).await;
9797
}
9898
Some(payload) = built_payload_rx.recv() => {
99+
// ignore error here; if p2p was disabled, the channel will be closed.
100+
let _ = p2p_tx.send(payload.into()).await;
101+
99102
// Update engine tree state with locally built block payloads
100103
if let Err(e) = payload_events_handle.send(Events::BuiltPayload(payload.clone())) {
101104
warn!(e = ?e, "failed to send BuiltPayload event");

0 commit comments

Comments
 (0)