g2 point varible style fix

pull/3213/head
Kieran Prasch 2023-09-07 20:45:44 +02:00 committed by derekpierre
parent c7b19902ca
commit 949558af29
1 changed files with 2 additions and 2 deletions

View File

@ -750,8 +750,8 @@ class CoordinatorAgent(EthereumContractAgent):
result = self.contract.functions.getProviderPublicKey(
provider, ritual_id
).call()
g2Point = self.G2Point(result[0], result[1], result[2])
return g2Point.to_public_key()
g2_point = self.G2Point(result[0], result[1], result[2])
return g2_point.to_public_key()
@contract_api(CONTRACT_CALL)
def number_of_rituals(self) -> int: