Browse Source

Test: PityTest - test_swarm updated

LIB-11
heck 11 months ago
parent
commit
436593676e
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      test/pitytest11/test/test_swarm.cc

+ 2
- 2
test/pitytest11/test/test_swarm.cc View File

@ -36,8 +36,8 @@ int test_run(PityUnit<PityPerspective>& 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()) {


Loading…
Cancel
Save