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

fix(provider): Add Send trait bound to PendingTx state future #39

Merged
merged 1 commit into from
Jun 23, 2020

Conversation

gakonst
Copy link
Owner

@gakonst gakonst commented Jun 23, 2020

Motivation

As @roynalnaruto pointed out, the PendingTransaction struct was not Send. Reproduced with https://gist.github.com/roynalnaruto/e9424d8917eaf330d8317d19328586b5#file-sample-rs-L34. This happens because the BinPoxFut trait object was not limited to be Send (which it should be ).

Solution

Add a Send trait bound.

@gakonst gakonst merged commit c1430fa into master Jun 23, 2020
@gakonst gakonst deleted the fix/missing-send-bound branch June 23, 2020 07:05
meetmangukiya pushed a commit to meetmangukiya/ethers-rs that referenced this pull request Mar 21, 2022
* chore: cargo +nightly fmt

* chore: fix clippy lints

* ci: run nightly fmt

* docs: add info about formatting

* ci: run nightly clippy

* chore: fix clippy lints
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant