Skip to content

Commit

Permalink
chore: log
Browse files Browse the repository at this point in the history
  • Loading branch information
irrun committed Jul 25, 2024
1 parent 7f69534 commit 6177c67
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions miner/bid_simulator.go
Original file line number Diff line number Diff line change
Expand Up @@ -659,8 +659,10 @@ func (b *bidSimulator) simBid(interruptCh chan int32, bidRuntime *BidRuntime) {
if bidGasUsed != 0 {
bidGasPrice := new(big.Int).Div(bidGasFee, new(big.Int).SetUint64(bidGasUsed))
if bidGasPrice.Cmp(b.minGasPrice) < 0 {
err = errors.New("bid gas price is lower than min gas price")
return
log.Warn("BidSimulator: bid gas price is lower than min gas price",
"builder", bidRuntime.bid.Builder, "gasPrice", bidGasPrice, "minGasPrice", b.minGasPrice)
//err = errors.New("bid gas price is lower than min gas price")
//return
}
}
}
Expand Down

0 comments on commit 6177c67

Please sign in to comment.