From 0ece6fbfea3b61c1fba1baefd6b2dff8e16f0de4 Mon Sep 17 00:00:00 2001 From: Christian M Date: Tue, 3 Oct 2023 12:44:25 +0200 Subject: [PATCH] :bug: tipo in web3 world data --- src/model/world_data/web3_world_data.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/model/world_data/web3_world_data.rs b/src/model/world_data/web3_world_data.rs index b259037..3f58a6e 100644 --- a/src/model/world_data/web3_world_data.rs +++ b/src/model/world_data/web3_world_data.rs @@ -41,7 +41,7 @@ impl Web3WorldData { } #[cfg(target_arch = "wasm32")] { - Web3Contract::new_html(DEFAULT_NODE_URL, DEFAULT_CONTRACT_ADDRESS).await? + Web3Contract::new_http(DEFAULT_NODE_URL, DEFAULT_CONTRACT_ADDRESS).await? } }; let attractions = contract.get_all_locations().await?;