Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
TymKh committed Oct 31, 2023
1 parent 82c03be commit 0eb04a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions flashbotsextra/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()})
Expand Down
5 changes: 2 additions & 3 deletions flashbotsextra/rpc_block_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 0eb04a0

Please sign in to comment.