Test: PityTest - test_swarm updated

LIB-11
heck 2 years ago
parent 4ad3823b15
commit 436593676e

@ -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