diff --git a/dkg/providers/blockchain.py b/dkg/providers/blockchain.py index 3427f94..429cdea 100644 --- a/dkg/providers/blockchain.py +++ b/dkg/providers/blockchain.py @@ -117,7 +117,7 @@ def make_json_rpc_request(self, endpoint: str, args: dict[str, Any] = {}) -> Any def handle_updated_contract(func): @wraps(func) def wrapper(self, *args, **kwargs): - contract_name = kwargs.get("contract_name") or (args[0] if args else None) + contract_name = kwargs.get("contract") or (args[0] if args else None) try: return func(self, *args, **kwargs)