Skip to content

Commit

Permalink
return on set 0
Browse files Browse the repository at this point in the history
  • Loading branch information
V-Staykov committed Jul 29, 2024
1 parent a6f07eb commit c673fb5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zk/txpool/pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -1132,6 +1132,7 @@ func (p *TxPool) setBaseFee(baseFee uint64, allowFreeTransactions bool) (uint64,
if allowFreeTransactions {
changed = uint64(0) != p.pendingBaseFee.Load()
p.pendingBaseFee.Store(0)
return 0, changed
}

if baseFee > 0 {
Expand Down

0 comments on commit c673fb5

Please sign in to comment.