mirror of
https://github.com/logos-blockchain/logos-blockchain-specs.git
synced 2026-01-06 23:23:09 +00:00
Typos
This commit is contained in:
parent
63b0a876e1
commit
0f0aceaa48
@ -62,10 +62,10 @@ def fill_subnetworks(
|
|||||||
are_subnetworks_filled_up_to_replication_factor(subnetworks, replication_factor) and
|
are_subnetworks_filled_up_to_replication_factor(subnetworks, replication_factor) and
|
||||||
all_nodes_are_assigned(available_nodes, average_participation)
|
all_nodes_are_assigned(available_nodes, average_participation)
|
||||||
):
|
):
|
||||||
# take fewer participants subnetwork
|
# take the fewest participants subnetwork
|
||||||
subnetwork = heappop(subnetworks)
|
subnetwork = heappop(subnetworks)
|
||||||
|
|
||||||
# take less participation declaration not included in the subnetwork
|
# take the declaration with the lowest participation that is not included in the subnetwork
|
||||||
participant = heappop_next_for_subnetwork(subnetwork, available_nodes)
|
participant = heappop_next_for_subnetwork(subnetwork, available_nodes)
|
||||||
|
|
||||||
# fill into subnetwork
|
# fill into subnetwork
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user