From c3d37c2860bcef9e3e2616ee4c53100fe7f0e845 Mon Sep 17 00:00:00 2001 From: gabrielmer <101006718+gabrielmer@users.noreply.github.com> Date: Wed, 13 Nov 2024 12:43:45 +0700 Subject: [PATCH] chore: making syncTree public (#23) --- dnsdisc/client.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnsdisc/client.nim b/dnsdisc/client.nim index e4125e1..2fe0baa 100644 --- a/dnsdisc/client.nim +++ b/dnsdisc/client.nim @@ -184,7 +184,7 @@ proc resolveRoot*(resolver: Resolver, loc: LinkEntry): Future[ResolveResult[Root return ok(res[]) -proc syncTree(resolver: Resolver, rootLocation: LinkEntry): Future[Result[Tree, cstring]] {.async.} = +proc syncTree*(resolver: Resolver, rootLocation: LinkEntry): Future[Result[Tree, cstring]] {.async.} = ## Synchronises the client tree according to EIP-1459 let rootEntry = await resolveRoot(resolver, rootLocation)