Add keywords to get_agent arguments

pull/3199/head
Manuel Montenegro 2023-08-23 10:55:06 +02:00
parent fb32b08118
commit 0a3a2a85e5
No known key found for this signature in database
GPG Key ID: AB138CC82DC9FAD4
1 changed files with 2 additions and 2 deletions

View File

@ -179,8 +179,8 @@ class StakingProviderMetricsCollector(BaseMetricsCollector):
def _collect_internal(self) -> None:
application_agent = ContractAgency.get_agent(
PREApplicationAgent,
self.contract_registry,
self.eth_provider_uri,
registry=self.contract_registry,
eth_provider_uri=self.eth_provider_uri,
)
authorized = application_agent.get_authorized_stake(
staking_provider=self.staking_provider_address