Skip to content

Commit e14f6d5

Browse files
authored
Updated proof_of_stake.py
1 parent 8b9ff8d commit e14f6d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

blockchain/proof_of_stake.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def choose_validator(validators: list[Validator]) -> Validator:
2727
Validator: The selected validator based on weighted random selection.
2828
2929
Example:
30-
>>> validators = [Validator("Alice", 50), Validator("Bob", 30), Validator("Charlie", 20)]
30+
>>> validators = [Validator("Alice", 50), Validator("Bob", 30)]
3131
>>> chosen = choose_validator(validators)
3232
>>> isinstance(chosen, Validator)
3333
True

0 commit comments

Comments
 (0)