From 436593676e0284eb429321ca238e781a0565b879 Mon Sep 17 00:00:00 2001 From: heck Date: Sun, 11 Jul 2021 01:43:15 +0200 Subject: [PATCH] Test: PityTest - test_swarm updated --- test/pitytest11/test/test_swarm.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/pitytest11/test/test_swarm.cc b/test/pitytest11/test/test_swarm.cc index 6582c06..0823825 100644 --- a/test/pitytest11/test/test_swarm.cc +++ b/test/pitytest11/test/test_swarm.cc @@ -36,8 +36,8 @@ int test_run(PityUnit& unit, PityPerspective* ctx) Utils::sleep_millis(throttle); unit.log(std::to_string(ctx->peers.size())); for (const auto& peer : ctx->peers) { - unit.log("sending to" + peer); - unit.transport()->sendMsg(peer, msg); + unit.log("sending to" + peer.addr); + unit.transport()->sendMsg(peer.addr, msg); } while (unit.transport()->hasMsg()) {