mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-17 13:06:34 +00:00
Better wording for consensus_validated
Co-authored-by: Danny Ryan <dannyjryan@gmail.com>
This commit is contained in:
parent
f4bd37a108
commit
eada985e9e
@ -267,7 +267,7 @@ def consensus_validated(self: ExecutionEngine, block_hash: Hash32, valid: bool)
|
||||
...
|
||||
```
|
||||
|
||||
The call of this function depends on the result of the state transition and must be done when call to the [`state_transition`](../phase0/beacon-chain.md#beacon-chain-state-transition-function) function finishes. The value of the `valid` parameter must be set as follows:
|
||||
The inputs to this function depend on the result of the state transition. A call to `consensus_validated` must be made after the [`state_transition`](../phase0/beacon-chain.md#beacon-chain-state-transition-function) function finishes. The value of the `valid` parameter must be set as follows:
|
||||
|
||||
* `True` if `state_transition` function call succeeds
|
||||
* `False` if `state_transition` function call fails
|
||||
|
Loading…
x
Reference in New Issue
Block a user