-
Notifications
You must be signed in to change notification settings - Fork 95
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
Sync committee duties improvements&fixes #839
Conversation
@@ -12,7 +10,7 @@ import ( | |||
func (gc *goClient) GetSyncMessageBlockRoot(slot phase0.Slot) (phase0.Root, error) { | |||
// Wait a 1/3 into the slot. | |||
gc.waitOneThirdOrValidBlock(slot) | |||
root, err := gc.client.BeaconBlockRoot(gc.ctx, fmt.Sprint(slot)) | |||
root, err := gc.client.BeaconBlockRoot(gc.ctx, "head") |
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.
@olegshmuelov how does this change affect? passing head vs slot
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.
if there is no block yet we will get an error
- could not start duty: failed to get sync committee block root: root is nil
No description provided.