Skip to content

Commit

Permalink
fix the missing components response code for block publish (#4721)
Browse files Browse the repository at this point in the history
  • Loading branch information
realbigsean authored Sep 11, 2023
1 parent 1db7394 commit 58cd506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beacon_node/http_api/src/publish_blocks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ pub async fn publish_block<T: BeaconChainTypes, B: IntoGossipVerifiedBlockConten
"Invalid block provided to HTTP API";
"reason" => &msg
);
Err(warp_utils::reject::broadcast_without_import(msg))
Err(warp_utils::reject::custom_bad_request(msg))
}
}
Err(BlockError::BeaconChainError(BeaconChainError::UnableToPublish)) => {
Expand Down

0 comments on commit 58cd506

Please sign in to comment.