merge with unstable fixes

This commit is contained in:
realbigsean
2022-11-01 13:26:56 -04:00
parent 8656d23327
commit d8a49aad2b
5 changed files with 7 additions and 17 deletions

View File

@@ -78,7 +78,7 @@ pub async fn handle_rpc<T: EthSpec>(
let request: JsonExecutionPayload<T> = get_param(params, 0)?;
// Canned responses set by block hash take priority.
if let Some(status) = ctx.get_new_payload_status(&request.block_hash) {
if let Some(status) = ctx.get_new_payload_status(&request.block_hash()) {
return Ok(serde_json::to_value(JsonPayloadStatusV1::from(status)).unwrap());
}