Merge pull request #2633 from terencechain/patch-128

Expand If_and_only_if in `execute_payload`
This commit is contained in:
Danny Ryan 2021-09-28 11:19:49 -06:00 committed by GitHub
commit ac2c010dbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -257,7 +257,7 @@ The Engine API may be used to implement them with an external execution engine.
```python
def execute_payload(self: ExecutionEngine, execution_payload: ExecutionPayload) -> bool:
"""
Returns ``True`` iff ``execution_payload`` is valid with respect to ``self.execution_state``.
Return ``True`` if and only if ``execution_payload`` is valid with respect to ``self.execution_state``.
"""
...
```