1
0
mirror of https://github.com/waku-org/nwaku.git synced 2025-01-22 12:51:05 +00:00

8 lines
264 B
Nim

import std/options, results
import
waku/[node/peer_manager, node/waku_node, waku_enr/sharding, common/enr/typed_record],
../testlib/[wakucore]
proc relayShards*(node: WakuNode): RelayShards =
return node.enr.toTyped().get().relayShardingIndicesList().get()