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

Commit

Permalink
Fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
vcastellm committed Aug 29, 2023
1 parent 5a737c9 commit db156bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blockchain/blockchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -1395,8 +1395,8 @@ func (b *Blockchain) CalculateBaseFee(parent *types.Header) uint64 {
// Check if this is the first London hardfork block.
// Should return chain.GenesisBaseFee ins this case.
if parent.BaseFee == 0 {
if b.config.Genesis.BaseFee > 0 {
return b.config.Genesis.BaseFee
if b.config.Chain.Genesis.BaseFee > 0 {
return b.config.Chain.Genesis.BaseFee
}

return chain.GenesisBaseFee
Expand Down

0 comments on commit db156bf

Please sign in to comment.