From 0eb04a05321c5e94820e6ceca7e523c6b29d8962 Mon Sep 17 00:00:00 2001 From: Tymur Khrushchov Date: Tue, 31 Oct 2023 15:14:45 +0100 Subject: [PATCH] fix lint --- flashbotsextra/database.go | 5 ++--- flashbotsextra/rpc_block_service.go | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/flashbotsextra/database.go b/flashbotsextra/database.go index e839f9067..2c3d0e654 100644 --- a/flashbotsextra/database.go +++ b/flashbotsextra/database.go @@ -265,9 +265,8 @@ type uuidBundle struct { func (ds *DatabaseService) ConsumeBuiltBlock(block *types.Block, blockValue *big.Int, ordersClosedAt time.Time, sealedAt time.Time, commitedBundles []types.SimulatedBundle, allBundles []types.SimulatedBundle, - usedSbundles []types.UsedSBundle, - bidTrace *apiv1.BidTrace) { - + usedSbundles []types.UsedSBundle, bidTrace *apiv1.BidTrace, +) { var allUUIDBundles = make([]uuidBundle, 0, len(allBundles)) for _, bundle := range allBundles { allUUIDBundles = append(allUUIDBundles, uuidBundle{bundle, bundle.OriginalBundle.ComputeUUID()}) diff --git a/flashbotsextra/rpc_block_service.go b/flashbotsextra/rpc_block_service.go index 6c6568a60..94c879ca2 100644 --- a/flashbotsextra/rpc_block_service.go +++ b/flashbotsextra/rpc_block_service.go @@ -20,9 +20,8 @@ func NewRpcBlockClient(URL string) *RpcBlockClient { func (r *RpcBlockClient) ConsumeBuiltBlock(block *types.Block, blockValue *big.Int, ordersClosedAt time.Time, sealedAt time.Time, commitedBundles []types.SimulatedBundle, allBundles []types.SimulatedBundle, - usedSbundles []types.UsedSBundle, - bidTrace *apiv1.BidTrace) { - + usedSbundles []types.UsedSBundle, bidTrace *apiv1.BidTrace, +) { reqrpc := jsonrpc.JSONRPCRequest{ ID: nil, Method: "block_consumeBuiltBlock",