From 124729b33907951a9de4b3905b819f54f5fc14e5 Mon Sep 17 00:00:00 2001 From: Jin Suk Park Date: Wed, 31 Jan 2024 01:16:14 +0900 Subject: [PATCH] return valid value from submitEthBlockToRelay (#171) --- core/vm/contracts_suave_eth.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/core/vm/contracts_suave_eth.go b/core/vm/contracts_suave_eth.go index 5c95ee36b..90e9d3d17 100644 --- a/core/vm/contracts_suave_eth.go +++ b/core/vm/contracts_suave_eth.go @@ -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) {