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

This commit is contained in:
Georgios Konstantopoulos 2020-06-23 10:05:04 +03:00 committed by GitHub
parent bb1ac9c666
commit c1430fa04e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ impl<'a, P> Deref for PendingTransaction<'a, P> {
} }
// Helper type alias // Helper type alias
type PinBoxFut<'a, T> = Pin<Box<dyn Future<Output = Result<T, ProviderError>> + 'a>>; type PinBoxFut<'a, T> = Pin<Box<dyn Future<Output = Result<T, ProviderError>> + 'a + Send>>;
// We box the TransactionReceipts to keep the enum small. // We box the TransactionReceipts to keep the enum small.
enum PendingTxState<'a> { enum PendingTxState<'a> {