mirror of
https://github.com/logos-co/nomos-specs.git
synced 2025-02-01 10:06:10 +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,
|
||||
so that associated packets can be merged together into a original message.
|
||||
"""
|
||||
route = [self.choose() for _ in range(num_hops - 1)]
|
||||
route.append(last_mix)
|
||||
return route
|
||||
return [*(self.choose() for _ in range(num_hops - 1)), last_mix]
|
||||
|
||||
def choose(self) -> NodeInfo:
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user