From 5f68ad9e3d83020728b61922ca68b9ebeb5b5fa1 Mon Sep 17 00:00:00 2001 From: thanhpp Date: Thu, 11 Jan 2024 10:48:26 +0700 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=9A=A8=20gosimple?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: thanhpp --- pkg/mev/bloxroute_submit_bundle.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pkg/mev/bloxroute_submit_bundle.go b/pkg/mev/bloxroute_submit_bundle.go index 8f2b094..204074e 100644 --- a/pkg/mev/bloxroute_submit_bundle.go +++ b/pkg/mev/bloxroute_submit_bundle.go @@ -93,12 +93,7 @@ func (s *BloxrouteClient) SendBundle( resp.Error.Code, resp.Error.Messange) } - return SendBundleResponse{ - Jsonrpc: resp.Jsonrpc, - ID: resp.ID, - Result: resp.Result, - Error: resp.Error, - }, nil + return SendBundleResponse(resp), nil } type BLXRSubmitBundleRequest struct {