From 1b602bcec5587902055de463d9275b14054b8336 Mon Sep 17 00:00:00 2001 From: rootial Date: Sun, 4 Jun 2023 14:31:45 +0800 Subject: [PATCH] Fix get rpc url getRpcUrl doesn't exist, we should use get_rpc_url --- thirdweb/constants/urls.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/thirdweb/constants/urls.py b/thirdweb/constants/urls.py index 42a72ba..050e301 100644 --- a/thirdweb/constants/urls.py +++ b/thirdweb/constants/urls.py @@ -27,13 +27,13 @@ def get_provider_for_network(network: str) -> Web3: elif network == "mumbai": rpc_url = get_rpc_url("mumbai") elif network == "optimism": - rpc_url = getRpcUrl("optimism"); + rpc_url = get_rpc_url("optimism"); elif network == "optimism-goerli": - rpc_url = getRpcUrl("optimism-goerli"); + rpc_url = get_rpc_url("optimism-goerli"); elif network == "arbitrum": - rpc_url = getRpcUrl("arbitrum"); + rpc_url = get_rpc_url("arbitrum"); elif network == "arbitrum-goerli": - rpc_url = getRpcUrl("arbitrum-goerli"); + rpc_url = get_rpc_url("arbitrum-goerli"); elif network == "fantom": rpc_url = get_rpc_url("fantom") elif network == "avalanche":