From 75582aabd27b3e5f9788b61e93feb1d8a16e36ee Mon Sep 17 00:00:00 2001 From: FP Date: Fri, 27 Oct 2023 10:33:10 -0700 Subject: [PATCH] fix: minor typo --- ape_roll/client.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/ape_roll/client.py b/ape_roll/client.py index b6aa2a6..8a9c517 100644 --- a/ape_roll/client.py +++ b/ape_roll/client.py @@ -470,12 +470,12 @@ def call(self, ape_contract: ApeContractInstance, func_name, *args, value=None, TODO: brownie has some logic for figuring out which overloaded method to use. we should use that here """ - weirollContract = WeirollContract.createContract(ape_contract) + weiroll_contract = WeirollContract.createContract(ape_contract) - if func_name in contract.functionsByUniqueName: - func = contract.functionsByUniqueName[func_name] - elif func_name in contract.functionsBySignature: - func = contract.functionsBySignature[func_name] + if func_name in weiroll_contract.functionsByUniqueName: + func = weiroll_contract.functionsByUniqueName[func_name] + elif func_name in weiroll_contract.functionsBySignature: + func = weiroll_contract.functionsBySignature[func_name] else: raise ValueError(f"Unknown func_name ({func_name}) on {ape_contract}")