cleanup(05b-weak-types): drop cast[pointer] at setGroupManagerRef caller + bump nwaku

This commit is contained in:
Arseniy Klempner 2026-05-21 17:36:53 -06:00
parent 23472f3c9d
commit fce56b367c
No known key found for this signature in database
GPG Key ID: 51653F18863BD24B
2 changed files with 2 additions and 2 deletions

View File

@ -335,7 +335,7 @@ proc start*(client: WakuClient) {.async.} =
let fetchRoots: onchain_group_manager.FetchRootsCallback = clientFetchRoots
let fetchProof: onchain_group_manager.FetchProofCallback = clientFetchProof
lezGm.setFetchCallbacks(fetchRoots, fetchProof)
mix_lez_client.setGroupManagerRef(cast[pointer](lezGm))
mix_lez_client.setGroupManagerRef(lezGm)
info "Wired LEZ callbacks for mix RLN spam protection"
let (_, destId) = splitPeerIdAndAddr(client.cfg.destPeerAddr)

2
vendor/nwaku vendored

@ -1 +1 @@
Subproject commit 75b549cfa843287df21145bc4f167491c31022eb
Subproject commit 618ce267c0b1587e98808de7840bcad9fdbd5655