We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b9ff8d commit e14f6d5Copy full SHA for e14f6d5
blockchain/proof_of_stake.py
@@ -27,7 +27,7 @@ def choose_validator(validators: list[Validator]) -> Validator:
27
Validator: The selected validator based on weighted random selection.
28
29
Example:
30
- >>> validators = [Validator("Alice", 50), Validator("Bob", 30), Validator("Charlie", 20)]
+ >>> validators = [Validator("Alice", 50), Validator("Bob", 30)]
31
>>> chosen = choose_validator(validators)
32
>>> isinstance(chosen, Validator)
33
True
0 commit comments