mirror of
https://github.com/logos-messaging/logos-delivery.git
synced 2026-07-25 22:13:12 +00:00
publish addresses from announced address sequence. (#775)
* publish multiple addresses Signed-off-by: rshiv <reeshav96@gmail.com> * publish from announced address Signed-off-by: rshiv <reeshav96@gmail.com> * change in json Signed-off-by: rshiv <reeshav96@gmail.com> * changes format Signed-off-by: rshiv <reeshav96@gmail.com> * makes listenstr a sequence Signed-off-by: rshiv <reeshav96@gmail.com> * changes the wakuinfo Field Signed-off-by: rshiv <reeshav96@gmail.com> * changes the test Signed-off-by: rshiv <reeshav96@gmail.com> * changes the tests variable Signed-off-by: rshiv <reeshav96@gmail.com> * changes test Signed-off-by: rshiv <reeshav96@gmail.com>
This commit is contained in:
@@ -63,7 +63,7 @@ procSuite "Waku v2 JSON-RPC API":
|
||||
let response = await client.get_waku_v2_debug_v1_info()
|
||||
|
||||
check:
|
||||
response.listenStr == $node.peerInfo.addrs[^1] & "/p2p/" & $node.peerInfo.peerId
|
||||
response.listenAddresses == @[$node.peerInfo.addrs[^1] & "/p2p/" & $node.peerInfo.peerId]
|
||||
|
||||
server.stop()
|
||||
server.close()
|
||||
|
||||
Reference in New Issue
Block a user