|
54 | 54 | bob.ctmgr.receive_scans([alice_ephID], now = now) |
55 | 55 | now = now + timedelta(seconds=LowCostDP3T.CONTACT_THRESHOLD+1) |
56 | 56 | alice.ctmgr.receive_scans([bob_ephID], now = now) |
57 | | - bob.ctmgr.receive_scans([bob_ephID], now = now) |
| 57 | + bob.ctmgr.receive_scans([alice_ephID], now = now) |
58 | 58 | # Process the received beacons |
59 | 59 | alice.next_epoch() |
60 | 60 | bob.next_epoch() |
|
70 | 70 | now = datetime.utcfromtimestamp(epotime) |
71 | 71 | bob_ephID = bob.keystore.get_current_ephID(now) |
72 | 72 | isidor_ephID = isidor.keystore.get_current_ephID(now) |
73 | | - beacons = [alice_ephID, bob_ephID, isidor_ephID] |
74 | 73 | # Record two beacons in the same epoch, resulting in a contact |
75 | | - bob.ctmgr.receive_scans(beacons, now = now) |
76 | | - isidor.ctmgr.receive_scans(beacons, now = now) |
| 74 | + bob.ctmgr.receive_scans([isidor_ephID], now = now) |
| 75 | + isidor.ctmgr.receive_scans([bob_ephID], now = now) |
77 | 76 | now = now + timedelta(seconds=LowCostDP3T.CONTACT_THRESHOLD+1) |
78 | | - bob.ctmgr.receive_scans(beacons, now = now) |
79 | | - isidor.ctmgr.receive_scans(beacons, now = now) |
| 77 | + bob.ctmgr.receive_scans([isidor_ephID], now = now) |
| 78 | + isidor.ctmgr.receive_scans([bob_ephID], now = now) |
80 | 79 | # Process the received beacons |
81 | 80 | alice.next_epoch() |
82 | 81 | bob.next_epoch() |
|
0 commit comments