Skip to content

Commit

Permalink
remember initial gasTip (#1176)
Browse files Browse the repository at this point in the history
  • Loading branch information
darioush committed May 17, 2024
1 parent 924e6b7 commit 2522e44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/txpool/txpool.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ func New(gasTip *big.Int, chain BlockChain, subpools []SubPool) (*TxPool, error)
return nil, err
}
}
pool.gasTip.Store(gasTip)

// Subscribe to chain head events to trigger subpool resets
var (
Expand Down

0 comments on commit 2522e44

Please sign in to comment.