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

Commit

Permalink
resolve issues from conflict.
Browse files Browse the repository at this point in the history
  • Loading branch information
ckartik committed Oct 13, 2023
1 parent 4c6464a commit 20ebc6f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
11 changes: 1 addition & 10 deletions examples/builderemulator/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,16 +74,7 @@ func (b *BuilderClient) startSender() error {
}
}()

var bidResponses []*builderapiv1.BidResponse
bidResponse := &builderapiv1.BidResponse{
BidDigest: []byte(bid.GetBidDigest()),
Status: builderapiv1.BidResponse_STATUS_ACCEPTED,
}
bidResponses = append(bidResponses, bidResponse)
b.SendProcessedBids(bidResponses)
}

return nil
return nil
}

// ReceiveBids opens a new RPC connection with the mev-commit node to receive bids.
Expand Down
4 changes: 2 additions & 2 deletions examples/builderemulator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ func main() {
}
logger.Info("received new bid", "bid", bid)
err := builderClient.SendBidResponse(context.Background(), &builderapiv1.BidResponse{
BidHash: bid.BidHash,
Status: builderapiv1.BidResponse_STATUS_ACCEPTED,
BidDigest: bid.BidDigest,
Status: builderapiv1.BidResponse_STATUS_ACCEPTED,
})
if err != nil {
logger.Error("failed to send bid response", "error", err)
Expand Down

0 comments on commit 20ebc6f

Please sign in to comment.