Skip to content

Conversation

@rodneyosodo
Copy link
Contributor

Signed-off-by: 0x6f736f646f [email protected]

Resolves #24368

Signed-off-by: 0x6f736f646f <[email protected]>
Copy link
Contributor

@s1na s1na left a comment

Choose a reason for hiding this comment

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

Looks good, only one nit

GasUsedRatio []float64 `json:"gasUsedRatio"`
}

// FeeHistory function
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice that you added a comment, but it's not a very helpful one

Copy link
Contributor

Choose a reason for hiding this comment

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

Please remove this or write something sensible

Copy link
Contributor

Choose a reason for hiding this comment

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

nevermind, I fixed it

Copy link
Contributor

@holiman holiman left a comment

Choose a reason for hiding this comment

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

LGTM aside from the stray comment

GasUsedRatio []float64 `json:"gasUsedRatio"`
}

// FeeHistory function
Copy link
Contributor

Choose a reason for hiding this comment

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

Please remove this or write something sensible

@holiman holiman changed the title Fixes fields["logs"] incorrectly set internal/ethapi: fix incorrect type on empty slice Feb 15, 2022
@holiman holiman added this to the 1.10.16 milestone Feb 15, 2022
@holiman holiman merged commit f01e2fa into ethereum:master Feb 15, 2022
sidhujag pushed a commit to syscoin/go-ethereum that referenced this pull request Feb 15, 2022
* Fixes ethereum#24368

Signed-off-by: 0x6f736f646f <[email protected]>

* Update internal/ethapi/api.go

Co-authored-by: Martin Holst Swende <[email protected]>
JacekGlen pushed a commit to JacekGlen/go-ethereum that referenced this pull request May 26, 2022
* Fixes ethereum#24368

Signed-off-by: 0x6f736f646f <[email protected]>

* Update internal/ethapi/api.go

Co-authored-by: Martin Holst Swende <[email protected]>
maoueh pushed a commit to streamingfast/go-ethereum that referenced this pull request Sep 30, 2022
* Fixes ethereum#24368

Signed-off-by: 0x6f736f646f <[email protected]>

* Update internal/ethapi/api.go

Co-authored-by: Martin Holst Swende <[email protected]>
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.

fields["logs"] incorrectly set

6 participants