Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

perf(light.js): Use getTransactionByHash instead of getTransactionReceipt #213

Merged
merged 2 commits into from
Apr 5, 2019

Conversation

amaury1093
Copy link
Collaborator

This will avoid polling the network to see if a transaction has been included in a block.

Note: if using parity-ethereum light client, this method only works with >=v2.5.0. See openethereum/parity-ethereum#10559 for more info.

@amaury1093 amaury1093 changed the title perf: Use getTransactionByHash instead of getTransactionReceipt perf(light.js): Use getTransactionByHash instead of getTransactionReceipt Apr 5, 2019
@amaury1093 amaury1093 merged commit 9a82e16 into master Apr 5, 2019
@amaury1093 amaury1093 deleted the am-fix-getTransactionReceipt branch April 5, 2019 13:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants