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)) => {