-
Notifications
You must be signed in to change notification settings - Fork 231
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
REST: getBlockRewards() and getSyncCommitteeRewards() implementation #6556
Conversation
return RestApiResponse.jsonError(Http400, InvalidBlockIdValueError, | ||
$error) | ||
|
||
if (bident.kind == BlockQueryKind.Named) and |
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 someone specifies the genesis block in some other way than literally naming it genesis
, the same logic should apply.
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.
|
||
targetBlock = | ||
withBlck(bdata): | ||
if (bident.kind == BlockQueryKind.Named) and |
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 someone specifies the genesis block in some other way than literally naming it genesis, the same logic should apply.
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.
No description provided.