From b71b991e6fa72dac563345110e1525803bcd9937 Mon Sep 17 00:00:00 2001 From: Oliver Nordbjerg Date: Fri, 17 Nov 2023 16:12:11 +0100 Subject: [PATCH] ?????????? --- crates/providers/src/provider.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/providers/src/provider.rs b/crates/providers/src/provider.rs index 3d01d6d6a864..6165d4b98c05 100644 --- a/crates/providers/src/provider.rs +++ b/crates/providers/src/provider.rs @@ -227,7 +227,8 @@ impl Provider { // In the future, this will be replaced by a Provider trait, // but as the interface is not stable yet, we define the bindings ourselves // until we can use the trait and the client abstraction that will use it. -#[async_trait] +#[cfg_attr(target_arch = "wasm32", async_trait::async_trait(?Send))] +#[cfg_attr(not(target_arch = "wasm32"), async_trait::async_trait)] impl TempProvider for Provider { /// Gets the transaction count of the corresponding address. async fn get_transaction_count(