From 58cd50681c47b941cbf6f8ee6199674c54309d27 Mon Sep 17 00:00:00 2001 From: realbigsean Date: Mon, 11 Sep 2023 09:54:14 -0400 Subject: [PATCH] fix the missing components response code for block publish (#4721) --- beacon_node/http_api/src/publish_blocks.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beacon_node/http_api/src/publish_blocks.rs b/beacon_node/http_api/src/publish_blocks.rs index 8666a18dd..dde8324cb 100644 --- a/beacon_node/http_api/src/publish_blocks.rs +++ b/beacon_node/http_api/src/publish_blocks.rs @@ -235,7 +235,7 @@ pub async fn publish_block &msg ); - Err(warp_utils::reject::broadcast_without_import(msg)) + Err(warp_utils::reject::custom_bad_request(msg)) } } Err(BlockError::BeaconChainError(BeaconChainError::UnableToPublish)) => {