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

eth_getTransactionByBlockNumberAndIndex and eth_getTransactionByBlockHashAndIndex always return transaction with index 0 #3118

Closed
jeffsmale90 opened this issue May 23, 2022 · 0 comments · Fixed by #3119
Assignees

Comments

@jeffsmale90
Copy link
Contributor

jeffsmale90 commented May 23, 2022

Both functions eth_getTransactionByBlockNumberAndIndex and eth_getTransactionByBlockHashAndIndex erroneously parse the index parameter to 0, regardless of the value.

The tests of this function currently pass, because they only test for calls to these functions with index value of 0.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant