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 {