Skip to content

internal/ethapi: add back missing check for maxfee < maxPriorityFee#23384

Merged
karalabe merged 1 commit intoethereum:masterfrom
holiman:fix_gasfoo
Aug 12, 2021
Merged

internal/ethapi: add back missing check for maxfee < maxPriorityFee#23384
karalabe merged 1 commit intoethereum:masterfrom
holiman:fix_gasfoo

Conversation

@holiman
Copy link
Copy Markdown
Contributor

@holiman holiman commented Aug 12, 2021

In https://github.com/ethereum/go-ethereum/pull/23274/files#diff-4a9c1433c7c79c50cb72fd743c896f7bf5a976f46ccbb5fae83f5c46b2465db9R103, a check got lost. When the user/caller supplies both maxFee and maxPriorityFee, we still should verify that they are valid.

Copy link
Copy Markdown
Member

@karalabe karalabe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@karalabe karalabe added this to the 1.10.7 milestone Aug 12, 2021
@karalabe karalabe merged commit 2a451f9 into ethereum:master Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants