Skip to content

Commit

Permalink
fix: remove omitempty in bid
Browse files Browse the repository at this point in the history
  • Loading branch information
raina committed Feb 5, 2024
1 parent c424e5f commit d8df97b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/types/bid.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ type BidArgs struct {
Signature hexutil.Bytes `json:"signature"`

// PayBidTx pays to builder
PayBidTx hexutil.Bytes `json:"payBidTx,omitempty"`
PayBidTx hexutil.Bytes `json:"payBidTx"`
PayBidTxGasUsed uint64 `json:"payBidTxGasUsed"`
}

// RawBid represents a raw bid.
type RawBid struct {
BlockNumber uint64 `json:"blockNumber"`
ParentHash common.Hash `json:"parentHash"`
Txs []hexutil.Bytes `json:"txs,omitempty"`
Txs []hexutil.Bytes `json:"txs"`
GasUsed uint64 `json:"gasUsed"`
GasFee *big.Int `json:"gasFee"`
BuilderFee *big.Int `json:"builderFee"`
Expand Down

0 comments on commit d8df97b

Please sign in to comment.