Skip to content

Commit

Permalink
return valid value from submitEthBlockToRelay (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
jinmel authored Jan 30, 2024
1 parent b9348b2 commit 124729b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions core/vm/contracts_suave_eth.go
Original file line number Diff line number Diff line change
Expand Up @@ -289,11 +289,12 @@ func (b *suaveRuntime) submitEthBlockToRelay(relayUrl string, builderDataRecordJ
"Accept:application/json",
},
}
if _, err := b.doHTTPRequest(httpReq); err != nil {

resp, err := b.doHTTPRequest(httpReq)
if err != nil {
return nil, err
}

return nil, nil
return resp, nil
}

func executableDataToCapellaExecutionPayload(data *engine.ExecutableData) (*specCapella.ExecutionPayload, error) {
Expand Down

0 comments on commit 124729b

Please sign in to comment.