-
Notifications
You must be signed in to change notification settings - Fork 679
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Finish initial Authority implementation #134
Conversation
core/beacon/src/authority.rs
Outdated
); | ||
|
||
// Shuffle proposals. | ||
let mut seed_usize = vec![]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@frol is there a better way to do this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does seed.as_ref().iter().map(|i| i as usize)
work?
91cb344
to
ae7e742
Compare
core/beacon/src/authority.rs
Outdated
); | ||
|
||
// Shuffle proposals. | ||
let mut seed_usize = vec![]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does seed.as_ref().iter().map(|i| i as usize)
work?
ae7e742
to
2152862
Compare
Ref #7