mirror of
https://github.com/logos-co/nomos-specs.git
synced 2025-02-08 05:25:50 +00:00
fix
This commit is contained in:
parent
235c7031c9
commit
3a703434da
@ -37,9 +37,7 @@ class MixMembership:
|
|||||||
The pre-selected mix_destination is used as a last mix node in the route,
|
The pre-selected mix_destination is used as a last mix node in the route,
|
||||||
so that associated packets can be merged together into a original message.
|
so that associated packets can be merged together into a original message.
|
||||||
"""
|
"""
|
||||||
route = [self.choose() for _ in range(num_hops - 1)]
|
return [*(self.choose() for _ in range(num_hops - 1)), last_mix]
|
||||||
route.append(last_mix)
|
|
||||||
return route
|
|
||||||
|
|
||||||
def choose(self) -> NodeInfo:
|
def choose(self) -> NodeInfo:
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user