Skip to content

Commit

Permalink
Fix: Changed executor address to use the same Aleph structure.
Browse files Browse the repository at this point in the history
  • Loading branch information
nesitor committed Apr 16, 2024
1 parent 0e2d687 commit a1fba37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/aleph_vrf/coordinator/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

logger.debug("local imports")
from aleph_vrf.coordinator.vrf import generate_vrf
from aleph_vrf.models import APIError, APIResponse, PublishedVRFResponse, Executor, Node
from aleph_vrf.models import APIError, APIResponse, PublishedVRFResponse, Node, AlephExecutor

logger.debug("imports done")

Expand Down Expand Up @@ -80,7 +80,7 @@ async def receive_test_vrf(
executor_url = (
"https://CRN_URL" # CRN main URL, like https://ovh.staging.aleph.sh/
)
executors = [Executor(node=Node(address=executor_url))]
executors = [AlephExecutor(node=Node(address=executor_url))]
executor_policy = UsePredeterminedExecutors(executors)
response = await generate_vrf(
account=account,
Expand Down

0 comments on commit a1fba37

Please sign in to comment.